Skip to content

Commit 3b54482

Browse files
committed
chore: Revert bad merge change
1 parent 7215d64 commit 3b54482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ object Types extends TypeUtils {
26832683
if (tparams.head.eq(tparam))
26842684
return args.head match {
26852685
case _: TypeBounds if !widenAbstract => TypeRef(pre, tparam)
2686-
case arg => arg
2686+
case arg => arg.boxedUnlessFun(tycon)
26872687
}
26882688
tparams = tparams.tail
26892689
args = args.tail

0 commit comments

Comments
 (0)