[Laszlo-dev] do we support the "as" operator

P T Withington ptw at pobox.com
Mon Jan 7 19:33:34 PST 2008


Yes, we should support this.  It should just pass through in js2 and  
be a no-op in js1.

If you'll file a Jira request, I can do the trunk work and I'll let  
Don integrate and do the swf9 back end.

Don if you can review the 'is' change that would help, since I'd like  
to make these as separate changes but they obviously involve the same  
files.  Thanks.

On 2008-01-07, at 19:07 EST, Henry Minsky wrote:

> AS3 is supposed to have this mechanism for type casting:
>
> var customObj:MyClass = obj as MyClass;
>
> Do we support that in our compiler? Should we?
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list