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 c8e593e commit 5be95e1Copy full SHA for 5be95e1
library/src/scala/internal/quoted/Matcher.scala
@@ -316,12 +316,7 @@ private[quoted] object Matcher {
316
qual1 =?= qual2
317
318
/* Match reference */
319
- // TODO could be subsumed by the next case
320
- case (Ident(_), Ident(_)) if scrutinee.symbol == pattern.symbol || summon[Env].get(scrutinee.symbol).contains(pattern.symbol) =>
321
- matched
322
-
323
- /* Match reference */
324
- case (_: Ref, _: Ref) if scrutinee.symbol == pattern.symbol =>
+ case (_: Ref, _: Ref) if scrutinee.symbol == pattern.symbol || summon[Env].get(scrutinee.symbol).contains(pattern.symbol) =>
325
matched
326
327
/* Match application */
0 commit comments