浏览代码

propagate TEnumParameter

Simon Krajewski 10 年之前
父节点
当前提交
ffb085858a
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      analyzer.ml

+ 2 - 3
analyzer.ml

@@ -1013,9 +1013,8 @@ module ConstPropagation = struct
 			with Not_found ->
 				false
 			end
-		(* issues with duplicate vars in switch cases *)
-(* 		| TEnumParameter _ ->
-			true *)
+		| TEnumParameter _ ->
+			true
 		| _ ->
 			false