Yes, that's a bug - I'll need to strip types on the call.

On Mar 12, 2008, at 7:31 PM, Henry Minsky wrote:

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]


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com




Reply via email to