浏览代码

investigate

Simon Krajewski 2 年之前
父节点
当前提交
8632405341
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      src/codegen/gencommon/normalize.ml
  2. 1 1
      src/filters/filters.ml

+ 2 - 2
src/codegen/gencommon/normalize.ml

@@ -52,8 +52,8 @@ let rec filter_param (stack:t list) t =
 	| TAbstract({a_path = [],"Null"} as a,[t]) ->
 		(* Null<TypeParameter> is the same as TypeParameter *)
 		begin match follow t with
-		| TInst({cl_kind = KTypeParameter _},_) ->
-			filter_param stack t
+		(* | TInst({cl_kind = KTypeParameter _},_) ->
+			filter_param stack t *)
 		| _ ->
 			TAbstract(a,[filter_param stack t])
 		end

+ 1 - 1
src/filters/filters.ml

@@ -933,7 +933,7 @@ let run com tctx main =
 		"fix_return_dynamic_from_void_function",fix_return_dynamic_from_void_function tctx true;
 		"check_local_vars_init",check_local_vars_init tctx;
 		"check_abstract_as_value",check_abstract_as_value;
-		"Tre",if defined com Define.AnalyzerOptimize then Tre.run tctx else (fun e -> e);
+		(* "Tre",if defined com Define.AnalyzerOptimize then Tre.run tctx else (fun e -> e); *)
 		"reduce_expression",Optimizer.reduce_expression tctx;
 		"inline_constructors",InlineConstructors.inline_constructors tctx;
 		"Exceptions_filter",Exceptions.filter tctx;