Nicolas Cannasse 18 years ago
parent
commit
a56ef698de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/Reflect.hx

+ 1 - 1
std/Reflect.hx

@@ -292,7 +292,7 @@ class Reflect {
 		Transform a function taking an array of arguments into a function that can
 		Transform a function taking an array of arguments into a function that can
 		be called with any number of arguments.
 		be called with any number of arguments.
 	**/
 	**/
-	static function makeVarArgs( f : Array<Dynamic> -> Dynamic ) : Dynamic {
+	public static function makeVarArgs( f : Array<Dynamic> -> Dynamic ) : Dynamic {
 		#if neko
 		#if neko
 		return untyped __dollar__varargs(function(a) { return f(Array.new1(a,__dollar__asize(a))); });
 		return untyped __dollar__varargs(function(a) { return f(Array.new1(a,__dollar__asize(a))); });
 		#else flash9
 		#else flash9