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 806ed22 commit 309a1bcCopy full SHA for 309a1bc
tests/run-staging/quote-macro-in-splice/quoted_2.scala
@@ -8,14 +8,11 @@ object Test {
8
val x = '{
9
val y = 1
10
${
11
- // FIXME remove context when $ will provide one
12
- // Currently we would accidentally capture the one from withQuoteContext
13
- inline def a(z: Int): Int = ${ impl('z)(given QuoteContext.macroContext) }
+ inline def a(z: Int): Int = ${ impl('z) }
14
val b = Expr(a(7))
15
'{ y + $b }
16
}
17
18
println(x.show)
19
20
-
21
0 commit comments