[Laszlo-dev] Does the compiler transform swf9 constructs for swf/dhtml?
P T Withington
ptw at openlaszlo.org
Tue Feb 12 09:59:29 PST 2008
The bug description illustrates the pattern we could use. It might be
useful to have this to help debugging and keep the code paths more
parallel.
On 2008-02-12, at 12:01 EST, Donald Anderson wrote:
> Phil,
>
> We don't yet support varargs or default args for SWF8 or DHTML.
> This is LPP-5273. It looks to me that I could implement these in
> DHTML
> by using the implicit 'arguments' array, right?
>
> - Don
>
> On Feb 12, 2008, at 10:52 AM, Philip Romanik wrote:
>
>> Hi Tucker,
>>
>> Am I ahead of the curve on this? I've ported the data files to use
>> the swf9 constructs but I'm having problems in dhtml.
>>
>> For example, does the compiler transform this to an appropriate
>> dhtml format?
>>
>> function LzDatapath ( v , args:* = null, children:* = null,
>> instcall:* = null ){
>> super(v, args, children, instcall);
>> ...
>> }
>>
>> In trunk, this code looks like,
>>
>> function construct ( v , args ){
>> super.construct.apply(this, arguments);
>> ...
>> }
>>
>>
>> Thanks!
>>
>> Phil
>>
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
>
>
>
>
More information about the Laszlo-dev
mailing list