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 a1f65de commit c99da13Copy full SHA for c99da13
compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala
@@ -247,17 +247,7 @@ object QuoteMatcher {
247
case ref: Ident =>
248
ref.tpe match
249
case TermRef(qual: TermRef, _) => tpd.ref(qual) =?= qual2
250
- case TermRef(qual: ThisType, _) if qual.classSymbol.is(Module) =>
251
- println("++++++++++++++++++++++++++++")
252
- println(ref.show)
253
- println(ref)
254
- println("......")
255
- println(qual)
256
- println(qual.classSymbol)
257
- println(qual.classSymbol.companionModule)
258
- println(tpd.ref(qual.classSymbol.companionModule))
259
- println(" ")
260
- println("-----------------------------")
+ case TermRef(qual: ThisType, _) if qual.classSymbol.is(Module, butNot = Package) =>
261
tpd.ref(qual.classSymbol.companionModule) =?= qual2
262
case _ => matched
263
/* Match reference */
0 commit comments