From 1ef682ecbc58d4568331f631e211853a91e71f2d Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 21 Nov 2017 18:19:43 +0100 Subject: [PATCH] Read original positions in tasty compiler --- compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } }