We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae58f9 commit 09660b7Copy full SHA for 09660b7
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4430,7 +4430,7 @@ object Types {
4430
myReduced =
4431
trace(i"reduce match type $this $hashCode", typr, show = true) {
4432
def matchCases(cmp: TrackingTypeComparer): Type =
4433
- try cmp.matchCases(scrutinee.normalized, cases)
+ try cmp.matchCases(scrutinee.dealias.normalized, cases)
4434
catch case ex: Throwable =>
4435
handleRecursive("reduce type ", i"$scrutinee match ...", ex)
4436
finally updateReductionContext(cmp.footprint)
0 commit comments