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 3b09c0e commit a1f65deCopy full SHA for a1f65de
compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala
@@ -248,6 +248,16 @@ object QuoteMatcher {
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("-----------------------------")
261
tpd.ref(qual.classSymbol.companionModule) =?= qual2
262
case _ => matched
263
/* Match reference */
0 commit comments