Skip to content

Commit 2dc7295

Browse files
committed
Use correct patvars
1 parent 46fcf2f commit 2dc7295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class QuoteMatcher(debug: Boolean) {
463463
if sclo.tpe.isNothingType && schi.tpe.isAny =>
464464
pttypedef match
465465
case TypeDef(_, TypeBoundsTree(ptlo, pthi, EmptyTree))
466-
if sclo.tpe.isNothingType && schi.tpe.isAny =>
466+
if ptlo.tpe.isNothingType && pthi.tpe.isAny =>
467467
matched
468468
case _ => notMatched
469469
case _ => notMatched

0 commit comments

Comments
 (0)