incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Arno" <>
Subject RE: [IDEAS] Collections and Generics
Date Fri, 24 Feb 2012 16:57:44 GMT
> From: Martin Heidegger [] 
> 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.


View raw message