소스 검색

Lua: fix _bind with ...

Justin Donaldson 10 년 전
부모
커밋
7154469b76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      std/lua/Boot.hx

+ 1 - 1
std/lua/Boot.hx

@@ -59,7 +59,7 @@ class Boot {
 		if ( o.hx__closures__ == null ) o.hx__closures__ = {};
 		else untyped f = o.hx__closures__[m];
 		if (f == null){
-			f = untyped __lua__("function(...) return m(o,arg) end;");
+			f = untyped __lua__("function(...) return m(o, ...) end");
 			untyped o.hx__closures__[m] = f;
 		}
 		return f;