Explorar o código

[cpp] disable Array restriction in simplifier (see #4187)

Simon Krajewski %!s(int64=10) %!d(string=hai) anos
pai
achega
7168026d7f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -236,7 +236,7 @@ module Simplifier = struct
 			with Exit ->
 				begin match follow e.etype with
 					| TAbstract({a_path = [],"Void"},_) -> true
-					| TInst ({ cl_path = [],"Array" }, _) when com.platform = Cpp -> true
+					(* | TInst ({ cl_path = [],"Array" }, _) when com.platform = Cpp -> true *)
 					| _ -> false
 				end
 		in