I have a mixin , LzFormatter, which is mixed in to LzText

class LFCText extends LFCView with LzFormatter {

When I compile, I get this error, which is because the compiler has
inserted type declarations onto the args in the  generated super()
call.

     [java] Loading configuration file
/Users/hqm/openlaszlo/adobe/trunk/frameworks/flex-config.xml

     [java] ERRORS:
     [java] Compiler error: at
[/tmp/lzswf9/lzgen31231/$lzsc$mixin$LzFormatter$LFCView.as: 285]:
Error: Syntax error: expecting rightparen before colon.
     [java]
     [java] super(parent:*, attrs:*, children:*, instcall:*)
     [java]             ^



The generated constructor looks like

}function $lzsc$mixin$LzFormatter$LFCView (parent:*, attrs:*,
children:* = null, instcall:* = null) {
super(parent:*, attrs:*, children:*, instcall:*)
}}



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to