17 Mar
2011
17 Mar
'11
01:05
Maxime can you check if there isn't a problem with declarations of the form: var foo; which should be equivalent to var foo = undefined; The code generated for insertErrorIR is currently wrong, but when I make a small modification to the function, like this: function insertErrorIR(context, errorName, errorMsg) { // Find the error contructor var errorCtor = undefined; //FIXME: was just: var errorCtor; switch (errorName) { case 'RangeError': the function works properly. In other words, the absence of an initializer does not behave like an "undefined" explicit initializer. Marc