Ver código fonte

don't analyze overloads twice

this is probably not the problem though
Simon Krajewski 5 meses atrás
pai
commit
7b20817752
1 arquivos alterados com 1 adições e 2 exclusões
  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