Explorar o código

Lua: disable more _bind usage

Justin Donaldson %!s(int64=10) %!d(string=hai) anos
pai
achega
51f2f69452
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -1449,7 +1449,7 @@ let generate com =
 	List.iter chk_features ctx.inits;
 	List.iter (fun (_,_,e) -> chk_features e) ctx.statics;
 	if has_feature ctx "use._iterator" then begin
-		add_feature ctx "use._bind";
+		(* add_feature ctx "use._bind"; *)
 		print ctx "function _iterator(o) { if( o instanceof Array ) return function() { return HxOverrides.iter(o); }; return typeof(o.iterator) == 'function' ? _bind(o,o.iterator) : o.iterator; }";
 		newline ctx;
 	end;