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 8a055d6 commit 1cf6b91Copy full SHA for 1cf6b91
compiler/src/dotty/tools/dotc/transform/PickleQuotes.scala
@@ -100,8 +100,8 @@ class PickleQuotes extends MacroTransform {
100
tree match
101
case Apply(Select(quote: Quote, nme.apply), List(quotes)) =>
102
val (contents, quote1) = makeHoles(quote)
103
- val pickled = PickleQuotes.pickle(quote1, quotes, contents)
104
- transform(pickled) // pickle quotes that are in the contents
+ val contents1 = contents.map(transform(_))
+ PickleQuotes.pickle(quote1, quotes, contents1)
105
case tree: DefDef if !tree.rhs.isEmpty && tree.symbol.isInlineMethod =>
106
// Shrink size of the tree. The methods have already been inlined.
107
// TODO move to FirstTransform to trigger even without quotes
0 commit comments