> I am sorry, but I could not reproduce this error. In qooxdoo a 
> statement like this is quite common. So it had been detected much 
> earlier normally.
> 
> foo.js:
> for (a in b) hello();
> 
> Result:
> 
> $ framework/tool/modules/compiler.py -c foo.js
> for(a in b)hello();

You have to trigger the node.isComplex() test for this to happen. 
 
> Can you send me an example which demonstrate this issue? Thanks.

This for loop caused the problem. There were about 4 altogether that were
sufficiently complex in our code:

   for (var sLongName in this._m_dRequestInfo.dParams) 
      {
      var oValue = dParams[sLongName];
      if (typeof oValue == 'boolean')
         {
         oValue = dParams[sLongName] + 0;
         }
      dRequestParams[this._m_dRequestInfo.dParams[sLongName]] = oValue; 
      }

> BTW: What version do you use?

0.7.3.

Note that I've found that my initial fix wasn't good enough. I've added
an amendment and I've got my single unit test now in the TestRunner app.

Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to