[haXe] Reflect.createInstance arguments

Alex Drahon adrahon at fastmail.fm
Mon Apr 10 13:11:22 CEST 2006


Hi everyone!

I'm new to the haXe/NekoVM world and I must say I'm really impressed
with what I discover. Thanks Nicolas for you work and especially for
making it so clean and elegant.

I'm learning haXe and the Flash API at the same time, so there are a lot
of things I don't know. I encountered a "Too many arguments" exception
with Reflect.createInstance with (what I think is) a Flash API class. I
looked in Reflect.hx and found that there is a hard limit to 5 arguments
(with an exception for Flash and a silent discarding of excess arguments
for JS). Is there a particular reason for this ?

Cheers

Alex Drahon




More information about the Haxe mailing list