Explorar o código

check arguments of calls to Dynamic against Dynamic so they are not missed

Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
4320884ca7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      codegen.ml

+ 1 - 1
codegen.ml

@@ -1637,7 +1637,7 @@ module UnificationCallback = struct
 		| TFun(args,_) ->
 			check_call_params f el args
 		| _ ->
-			el
+			List.map (fun e -> f e t_dynamic) el
 
 	let rec run f e =
 		let f e t =