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 a575a08 commit c971de7Copy full SHA for c971de7
library/src/scala/internal/quoted/Matcher.scala
@@ -276,8 +276,8 @@ private[quoted] object Matcher {
276
ref match
277
case Select(qual1, _) => qual1 =?= qual2
278
case ref: Ident =>
279
- Ref.desugarIdent(ref) match
280
- case Select(qual1, _) => qual1 =?= qual2
+ ref.tpe match
+ case TermRef(qual: TermRef, _) => Ref.term(qual) =?= qual2
281
case _ => matched
282
283
/* Match reference */
0 commit comments