[Laszlo-dev] Some questions about mixins (LPP-5266)
Donald Anderson
dda at ddanderson.com
Fri Feb 1 12:40:26 PST 2008
1) Do we allow forward references:
class X with M1 { .... }
mixin M1 { .... }
I expect yes - this wouldn't be hard since we get the whole source
tree at one time.
2) When compiling an app, do we allow references to traits in included
libraries/LFC?
I want to say yes, but this would certainly make things tougher.
Right now, the LFC is compiled into a .swc, so there isn't
any readily accessible source information about
the mixins it contains. I could think of some hacks to accomplish
that, but I'd rather not go there.
3) Is there any real work here that needs to be done for JS/SWF8?
Is it just deprecating keyword 'trait' to prefer 'mixin'?
4) Is this work in devildog only?
--
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