--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Hi, subclassing "Class" isn't legal and we've filed a bug to get the
> compiler to not allow it.  Another response looks like it tried to help
> find your solution.
> 
>  
> 
> Matt
> 

Thanks Matt!
I recognize that this is an odd corner-case, but it's always nice when
the compiler and VM are in sync. Thanks for your help.

And Dan, thanks for the mind-reading attempt!
I was aware of the ArrayElementType, but was looking for some way to
create a metadata-like object at runtime as a hint to a function which
converts untyped javascript objects into typed actionscript objects.
It would have been elegant if I could have used a subclass of Class,
so that the argument to the converter could have simply been "Class".
As it is, I settled for passing either a Class or "ArrayOf(Class)" to
be converted into. Elegance isn't that important though, right?



Reply via email to