diff --git a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala index 80184d05317b..38340ae3e0b3 100644 --- a/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala +++ b/compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala @@ -19,6 +19,6 @@ class TASTYCompiler extends Compiler { override def newRun(implicit ctx: Context): Run = { reset() - new TASTYRun(this, ctx) + new TASTYRun(this, ctx.addMode(Mode.ReadPositions)) } }