浏览代码

run analyzer transformation on variable expressions too

This might break a few things, let's see what the CI says.
Simon Krajewski 9 年之前
父节点
当前提交
bc418fd125
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      analyzer.ml

+ 1 - 4
analyzer.ml

@@ -2850,10 +2850,7 @@ module Run = struct
 
 	let run_on_class ctx config c =
 		let config = update_config_from_meta config c.cl_meta in
-		let process_field cf = match cf.cf_kind with
-			| Method _ -> run_on_field ctx config c cf
-			| _ -> ()
-		in
+		let process_field cf = run_on_field ctx config c cf in
 		List.iter process_field c.cl_ordered_fields;
 		List.iter process_field c.cl_ordered_statics;
 		(match c.cl_constructor with