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 3901f2b commit 326a28cCopy full SHA for 326a28c
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -2753,7 +2753,7 @@ class Typer extends Namer
2753
// a call to dotty.internal.StringContext.f which we can implement using the new macros.
2754
// As the macro is implemented in the bootstrapped library, it can only be used from the bootstrapped compiler.
2755
val Apply(TypeApply(Select(sc, _), _), args) = tree
2756
- val newCall = ref(defn.InternalStringContextMacroModule_f).appliedTo(sc).appliedToArgs(args)
+ val newCall = ref(defn.InternalStringContextMacroModule_f).appliedTo(sc).appliedToArgs(args).withSpan(tree.span)
2757
readaptSimplified(Inliner.inlineCall(newCall))
2758
}
2759
else if (ctx.settings.XignoreScala2Macros.value) {
0 commit comments