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 8808683 commit 6d61140Copy full SHA for 6d61140
compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala
@@ -464,9 +464,8 @@ class QuoteMatcher(debug: Boolean) {
464
else
465
val td = if i == 0 then sctypedef else pttypedef
466
td.rhs match
467
- case tbt: TypeBoundsTree
468
- if tbt.lo.tpe.isNothingType && tbt.hi.tpe.isAny && tbt.alias.isEmpty
469
- => recur(i + 1)
+ case TypeBoundsTree(lo, hi, alias @ EmptyTree) if lo.tpe.isNothingType && hi.tpe.isAny =>
+ recur(i + 1)
470
case _ => notMatched
471
recur(i = 0)
472
0 commit comments