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 0cca3fa commit f742d28Copy full SHA for f742d28
compiler/src/dotty/tools/dotc/transform/PickleQuotes.scala
@@ -115,7 +115,7 @@ class PickleQuotes extends MacroTransform {
115
holeContents += content
116
val holeType = getPicklableHoleType(tree.tpe, stagedClasses)
117
val hole = untpd.cpy.Hole(tree)(content = EmptyTree).withType(holeType)
118
- cpy.Inlined(tree)(EmptyTree, Nil, hole)
+ Inlined(EmptyTree, Nil, hole).withSpan(tree.span)
119
case tree: DefTree =>
120
if tree.symbol.isClass then
121
stagedClasses += tree.symbol
0 commit comments