Browse Source

Fix Issue1997

peyty 9 years ago
parent
commit
8e70ae2f6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -1788,7 +1788,7 @@ let generate com =
 	end;
 	if has_feature ctx "use._arrayPushClosure" then begin
 		print ctx "function _arrayPushClosure(a) ";
-		print ctx " return function(x) a.push(x); end; ";
+		print ctx " return function(x) a:push(x); end; ";
 		print ctx "end";
 		newline ctx
 	end;