Release coccinelle-0.2.2-rc1
[bpt/coccinelle.git] / parsing_cocci / type_infer.ml
index 2c209d0..1fc1e1c 100644 (file)
@@ -337,7 +337,9 @@ let rec propagate_types env =
       (* if a type is known, it is specified in the decl *)
          None
       | (Ast0.Paren(lp,exp,rp),None) -> process_test exp
-      | (_,None) -> Some (int_type)
+      (* the following doesn't seem like a good idea - triggers int isos
+        on all test expressions *)
+      (*| (_,None) -> Some (int_type) *)
       | _ -> None in
     let new_expty = process_test exp in
     (match new_expty with