Explorar el Código

propagate TEnumParameter

Simon Krajewski hace 10 años
padre
commit
ffb085858a
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  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