On 28.06.2013 11:03, thron7 wrote: > > On 06/28/2013 09:46 AM, Cajus Pollmeier wrote: >> >> Lets start over after cleaning all build caches I found and running >> distclean providing more information: >> >> * Unmodified qx source, unmodified project source, optimization enabled >> >> "build" does not work. >> >> * Unmodified qx source, unmodified project source, optimization disabled >> >> "build" works. Sadly :-( > > That's what I said, the issue is due to some optimization. > >> >> I tried this several times, so it looks like beeing reproducible. You can >> see that the non optimized version contains a >> >> ...}) >> qx.Bootstrap(... >> >> Looks like that doesn't matter in the non optimized version, > > Yep, automatic semicolon insertion (a JS feature). > >> but when beeing compressed to a single line it fails. Don't ask why that was >> like >> >> ...})qx.Bootstrap(... > > Yes, that's an error. The weird thing is that I inspected code locations > like this as well, and the Generator always inserted the needed semicolon. > > Which optimizations where in effect when you produced the above line? (I > persume the "...})" is still the end of qx.ui.container.Composite, right?!).
Yes, the "...})" is still in place. And I'm not specifying any specific optimizations. This is what happens when providing them directly: Works: "=optimize" : ["basecalls", "comments", "privates", "strings", "variables", "variants"] Fails: "=optimize" : ["basecalls", "comments", "privates", "strings", "variables", "variants", "whitespace"] Works: "=optimize" : ["whitespace"] Fails: "=optimize" : ["variants", "whitespace"] Looks like it's the combination of "variants" and "whitespace"? Cajus ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
