浏览代码

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__ = {};
 		if ( o.hx__closures__ == null ) o.hx__closures__ = {};
 		else untyped f = o.hx__closures__[m];
 		else untyped f = o.hx__closures__[m];
 		if (f == null){
 		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;
 			untyped o.hx__closures__[m] = f;
 		}
 		}
 		return f;
 		return f;