diff options
-rw-r--r-- | src/dotty/tools/dotc/typer/FrontEnd.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/FrontEnd.scala b/src/dotty/tools/dotc/typer/FrontEnd.scala index 7bbf0169b..e24d1f25d 100644 --- a/src/dotty/tools/dotc/typer/FrontEnd.scala +++ b/src/dotty/tools/dotc/typer/FrontEnd.scala @@ -64,8 +64,10 @@ class FrontEnd extends Phase { unit.isJava || firstTopLevelDef(unit.tpdTree :: Nil).isPrimitiveValueClass override def runOn(units: List[CompilationUnit])(implicit ctx: Context): List[CompilationUnit] = { - val unitContexts = for (unit <- units) yield + val unitContexts = for (unit <- units) yield { + ctx.inform(s"compiling ${unit.source}") ctx.fresh.setCompilationUnit(unit).setFreshNames(new FreshNameCreator.Default) + } unitContexts foreach (parse(_)) record("parsedTrees", ast.Trees.ntrees) unitContexts foreach (enterSyms(_)) |