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 e611139 commit 37200beCopy full SHA for 37200be
compiler/src/dotty/tools/dotc/transform/Splicing.scala
@@ -228,7 +228,7 @@ class Splicing extends MacroTransform:
228
else super.transform(tree)
229
case CapturedApplication(fn, argss) =>
230
transformCapturedApplication(tree, fn, argss)
231
- case Apply(sel @ Select(app @ Quote(body), nme.apply), quotes :: Nil) if level == 0 && body.isTerm =>
+ case Apply(Select(Quote(body), nme.apply), quotes :: Nil) if level == 0 && body.isTerm =>
232
body match
233
case _: RefTree if isCaptured(body.symbol) => capturedTerm(body)
234
case _ => withCurrentQuote(quotes) { super.transform(tree) }
0 commit comments