We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d58ebc commit 5979e36Copy full SHA for 5979e36
src/dotty/tools/dotc/typer/FrontEnd.scala
@@ -64,8 +64,10 @@ class FrontEnd extends Phase {
64
unit.isJava || firstTopLevelDef(unit.tpdTree :: Nil).isPrimitiveValueClass
65
66
override def runOn(units: List[CompilationUnit])(implicit ctx: Context): List[CompilationUnit] = {
67
- val unitContexts = for (unit <- units) yield
+ val unitContexts = for (unit <- units) yield {
68
+ ctx.inform(s"compiling ${unit.source}")
69
ctx.fresh.setCompilationUnit(unit).setFreshNames(new FreshNameCreator.Default)
70
+ }
71
unitContexts foreach (parse(_))
72
record("parsedTrees", ast.Trees.ntrees)
73
unitContexts foreach (enterSyms(_))
0 commit comments