Explorar o código

[java/cs] Fixed some erroneous 'No overload found' messages

Cauê Waneck %!s(int64=10) %!d(string=hai) anos
pai
achega
131d71481e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gencommon.ml

+ 1 - 1
gencommon.ml

@@ -6282,7 +6282,7 @@ struct
 			| [], [] -> true
 			| (_,_,t) :: arglist, et :: elist -> (try
 				let t = run_follow gen t in
-				unify t et;
+				unify et t;
 				check_arg arglist elist
 			with | Unify_error el ->
 				(* List.iter (fun el -> gen.gcon.warning (Typecore.unify_error_msg (print_context()) el) p) el; *)