peyty пре 9 година
родитељ
комит
8e70ae2f6b
1 измењених фајлова са 1 додато и 1 уклоњено
  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;