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 cac4e18 commit 2244eb1Copy full SHA for 2244eb1
compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala
@@ -128,7 +128,7 @@ object PickledQuotes {
128
}
129
130
private def functionAppliedTo(fn: Tree, args: List[Tree])(implicit ctx: Context): Tree = {
131
- val argVals = args.map(arg => SyntheticValDef(NameKinds.UniqueName.fresh("x".toTermName), arg))
+ val argVals = args.map(arg => SyntheticValDef(NameKinds.UniqueName.fresh("x".toTermName), arg).withSpan(arg.span))
132
def argRefs() = argVals.map(argVal => ref(argVal.symbol))
133
def rec(fn: Tree): Tree = fn match {
134
case Inlined(call, bindings, expansion) =>
0 commit comments