Skip to content

Commit c99da13

Browse files
committed
wip
1 parent a1f65de commit c99da13

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -247,17 +247,7 @@ object QuoteMatcher {
247247
case ref: Ident =>
248248
ref.tpe match
249249
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("-----------------------------")
250+
case TermRef(qual: ThisType, _) if qual.classSymbol.is(Module, butNot = Package) =>
261251
tpd.ref(qual.classSymbol.companionModule) =?= qual2
262252
case _ => matched
263253
/* Match reference */

0 commit comments

Comments
 (0)