소스 검색

Fix Issue1997

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;