소스 검색

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