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 d8d38be commit 88b7f46Copy full SHA for 88b7f46
compiler/src/dotty/tools/dotc/transform/PostTyper.scala
@@ -204,7 +204,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
204
Checking.checkInstantiable(tree.tpe, nu.pos)
205
withNoCheckNews(nu :: Nil)(super.transform(tree))
206
case meth =>
207
- if (meth.symbol.name.eq(nme.QUOTE) && meth.symbol.owner.eq(defn.OpsPackageClass))
+ if (meth.symbol.isQuote)
208
ctx.compilationUnit.containsQuotesOrSplices = true
209
super.transform(tree)
210
}
0 commit comments