| Issue 36: | implements Generic not generating class files | |
| 1 person starred this issue and may be notified of changes. | Back to list |
import haxe.FastList;
class Tool
{
static public function toFastList<A>(input:Iterable<A>):FastList<A>
{
var ret = new FastList<A>();
for (i in input)
{
ret.add(i);
}
return ret;
}
}
class Simple
{
static public function main():Void
{
var iterable = ["a","b","c"];
trace(Tool.toFastList(iterable));
}
}
Maybe for dynamic only?
Aug 11, 2010
Project Member
#1
gameh...@gmail.com
Status:
WontFix
|