浏览代码

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

Cauê Waneck 10 年之前
父节点
当前提交
131d71481e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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; *)