Skip to content

Commit 3114872

Browse files
committed
clean up error message that is now not possible
1 parent bb0ad1f commit 3114872

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jscomp/ml/typecore.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3035,7 +3035,6 @@ and type_application uncurried env funct (sargs : sargs) : targs * Types.type_ex
30353035
(t1, t2)
30363036
| Tarrow (l,t1,t2,_) when Asttypes.same_arg_label l l1 && arity_ok
30373037
->
3038-
if List.length args >= max_arity then assert false;
30393038
(t1, t2)
30403039
| td ->
30413040
let ty_fun =

0 commit comments

Comments
 (0)