我有这样的haxe代码:
var fn:String->Int = function(s:String):Int{ return 1; } getParameterType(fn,1);//Should return String as it is first parameter of fn
函数 getParameterType 代码应该是什么样的?
reflection haxe
haxe ×1
reflection ×1