Skip to content

Commit e7f6240

Browse files
committed
Fix #10466: Update rootPosition to Position.ofMacroExpansion
1 parent 2a7f19a commit e7f6240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-dotty/sbt-test/source-dependencies/macro-expansion-dependencies-2/changes/MacroRuntimeCompileError.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ object MacroRuntime {
44

55
def impl()(using Quotes): Expr[Unit] = {
66
import qctx.reflect._
7-
error("some error", rootPosition)
7+
error("some error", Position.ofMacroExpansion)
88
'{ println("Implementation in MacroCompileError") }
99
}
1010

0 commit comments

Comments
 (0)