On 4/18/16, 11:23 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>Good question. I’m not really sure.

It is technically legal to do that in JS, and when libraries do that, that
makes it harder to emulate in AS because they are not really doing
object-oriented support with sealed classes.  To allow it would require
more compiler work and I'm not really sure there is a good change to make.
 Relying on library-path order seems fragile.

I think it might be best to create a larger CSInterface.swc by combining
the CSInterface with most of js.swc minus the js.swc's RGBColor.  Then
folks would use CSInterface but not js.swc.  Then they have the right set
of definitions to work with that represent the runtime APIs they will see.

HTH,
-Alex

Reply via email to