[Laszlo-dev] Compiler errors while compiling to swf10

augusto callejas augusto at qless.com
Fri Mar 9 00:57:22 PST 2012


hi-

i'm attempting to compile openlazlo 4.9 code into swf10.  my code successfully compiles to swf8, so i know its valid openlaszlo code.
however, when i compile to swf10, it generates many errors:

===
org.openlaszlo.sc.CompilerError: line unknown: Warning: variable '$0' has no type declaration, in line: var $0 = stage.loaderInfo.parameters.id;
line unknown: Warning: parameter '$1' has no type declaration, in line: catch ($1) {};
line unknown: Warning: variable '$2' has no type declaration, in line: var $2 = stage.loaderInfo.parameters.id;
line unknown: Warning: parameter '$3' has no type declaration, in line: catch ($3) {}}}
line unknown: Warning: variable 'dateUtil' has no type declaration, in line: public var dateUtil = null;}
line unknown: Warning: variable 'settingsDialog' has no type declaration, in line: public var settingsDialog = null;}
line unknown: Warning: variable 'variancePoller' has no type declaration, in line: public var variancePoller = null;}
line unknown: Warning: variable 'title' has no type declaration, in line: public var title = null;}
line unknown: Warning: variable 'newPointer' has no type declaration, in line: public var newPointer = null;}
line unknown: Warning: variable 'phoneMask' has no type declaration, in line: public var phoneMask = null;}
....
.... more than 50 errors, additional errors not shown.
===

the variables that are being complained about are all views with an id attribute, for example:

===
<view id="dateUtil">
...
</view>
===

are views with id attributes not support?

is this a common occurrence when compiling to swf10 on openlaszlo?

augusto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20120309/f0ae3ce3/attachment.html


More information about the Laszlo-dev mailing list