Skip to content

Commit a1f65de

Browse files
committed
WIP debug
1 parent 3b09c0e commit a1f65de

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,16 @@ object QuoteMatcher {
248248
ref.tpe match
249249
case TermRef(qual: TermRef, _) => tpd.ref(qual) =?= qual2
250250
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("-----------------------------")
251261
tpd.ref(qual.classSymbol.companionModule) =?= qual2
252262
case _ => matched
253263
/* Match reference */

0 commit comments

Comments
 (0)