[mtasc] MTASC Bug: Interfaces with constructors are not compiled

Nicolas Cannasse ncannasse at motion-twin.com
Tue Feb 14 18:15:39 CET 2006


Steve Webster wrote:
> Nicolas,
> 
>> Adam Pasztory wrote:
>>
>>> After a lot of experiments, I've given up on trying to use  
>>> Interfaces in AS 2.0.  They are more restrictive than Interfaces  in 
>>> Java, and they don't work well for trying to set up "pseudo  multiple 
>>> inheritance".
>>> I ran into the same problem you did with the constructor.  It also  
>>> annoys me that you can't define properties in an Interface.
>>
>>
>> Well you *could* do it at some time with MTASC, but some people  where 
>> not happy because it was not compatible with MMC. Don't  worry, you 
>> can define properties in haXe interfaces ;)
> 
> 
> It wasn't that it was incompatible with MMC, is was that it was  
> incompatible with the ECMAScript spec.

Well, AS2 and even AS3 are only "based on" ECMAScript. They have 
incompatibities of their own.

Nicolas





More information about the mtasc mailing list