Skip to content

Commit 309a1bc

Browse files
committed
Remove use of QuoteContext.macroContext
1 parent 806ed22 commit 309a1bc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/run-staging/quote-macro-in-splice/quoted_2.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ object Test {
88
val x = '{
99
val y = 1
1010
${
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) }
11+
inline def a(z: Int): Int = ${ impl('z) }
1412
val b = Expr(a(7))
1513
'{ y + $b }
1614
}
1715
}
1816
println(x.show)
1917
}
20-
2118
}

0 commit comments

Comments
 (0)