Skip to content

Commit 2191757

Browse files
authored
Merge pull request #13229 from mario-bucev/etaexpansion-extractor
Employ frozen_<:< instead of <:< within EtaExpansion extractor logic
2 parents 9e8d5c5 + 225e03a commit 2191757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ object TypeApplications {
5353
|| {
5454
val paramRefs = tparams.map(_.paramRef)
5555
tp.typeParams.corresponds(tparams) { (param1, param2) =>
56-
param2.paramInfo <:< param1.paramInfo.substParams(tp, paramRefs)
56+
param2.paramInfo frozen_<:< param1.paramInfo.substParams(tp, paramRefs)
5757
}
5858
}
5959

0 commit comments

Comments
 (0)