Skip to content

Commit 88b7f46

Browse files
committed
Use isQuote
1 parent d8d38be commit 88b7f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/PostTyper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class PostTyper extends MacroTransform with IdentityDenotTransformer { thisPhase
204204
Checking.checkInstantiable(tree.tpe, nu.pos)
205205
withNoCheckNews(nu :: Nil)(super.transform(tree))
206206
case meth =>
207-
if (meth.symbol.name.eq(nme.QUOTE) && meth.symbol.owner.eq(defn.OpsPackageClass))
207+
if (meth.symbol.isQuote)
208208
ctx.compilationUnit.containsQuotesOrSplices = true
209209
super.transform(tree)
210210
}

0 commit comments

Comments
 (0)