Skip to content

Commit 1152b52

Browse files
committed
Partial application of an uncurried type returns an uncurried type.
1 parent 1241a43 commit 1152b52

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
@@ -2988,7 +2988,6 @@ and type_application env funct (sargs : sargs) : targs * Types.type_expr =
29882988
Location.prerr_warning sarg1.pexp_loc Warnings.Unused_argument;
29892989
unify env ty_fun (newty (Tarrow(l1,t1,t2,Clink(ref Cunknown))));
29902990
(t1, t2)
2991-
| Tconstr (Pdot (Pdot(Pident {name = "Js"},"Fn",_),_,_),[{desc=Tarrow (l,t1,t2,_)}],_)
29922991
| Tarrow (l,t1,t2,_) when Asttypes.same_arg_label l l1
29932992
->
29942993
(t1, t2)

0 commit comments

Comments
 (0)