> From: Martin Heidegger [mailto:m...@leichtgewicht.at] 
> Sent: 24 February 2012 16:51
> ActionScript3 does not support generics. 

That's not strictly speaking true. AS3 supports the Vector class after all,
which is a generic class. It understands instantiating an instance of a
generic class. However the language doesn't (yet) have the syntax to support
defining generic classes and - even if it did - the mxmlc compiler is
hard-coded to only handle generics via the Vector class. The AVM2 definitely
supports generics, which is why haXe can use generics to target SWFs.

David.


Reply via email to