Explorar o código

Fix Issue1997

peyty %!s(int64=9) %!d(string=hai) anos
pai
achega
8e70ae2f6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;