Skip to content

Commit 1d24b19

Browse files
authored
Merge pull request #3524 from dotty-staging/read-positions-from-tasty
Read original positions in tasty compiler
2 parents 5674a46 + 1ef682e commit 1d24b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ class TASTYCompiler extends Compiler {
1919

2020
override def newRun(implicit ctx: Context): Run = {
2121
reset()
22-
new TASTYRun(this, ctx)
22+
new TASTYRun(this, ctx.addMode(Mode.ReadPositions))
2323
}
2424
}

0 commit comments

Comments
 (0)