Skip to content

Commit 1ef682e

Browse files
committed
Read original positions in tasty compiler
1 parent fbed6cc commit 1ef682e

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)