Nicolas Cannasse 13 tahun lalu
induk
melakukan
92ec6c64a7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -166,7 +166,7 @@ let rec unify_call_params ctx name el args r p inline =
 			let e = type_expr ctx infos true in
 			let e = type_expr ctx infos true in
 			(e, true)
 			(e, true)
 		else
 		else
-			(null (if ctx.com.platform = Cpp then ctx.t.tnull t else t) p, true)
+			(null (ctx.t.tnull t) p, true)
 	in
 	in
 	let rec loop acc l l2 skip =
 	let rec loop acc l l2 skip =
 		match l , l2 with
 		match l , l2 with