File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
compiler/src/scala/quoted/runtime/impl Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments