浏览代码

don't analyze overloads twice

this is probably not the problem though
Simon Krajewski 5 月之前
父节点
当前提交
7b20817752
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/optimization/analyzer.ml

+ 1 - 2
src/optimization/analyzer.ml

@@ -1154,8 +1154,7 @@ module Run = struct
 		| _ -> ()
 
 	let run_on_field com config c cf =
-		run_on_field' com config c cf;
-		List.iter (run_on_field' com config c) cf.cf_overloads
+		run_on_field' com config c cf
 
 	let run_on_class com pool config c =
 		let config = update_config_from_meta com config c.cl_meta in