diff options
author | Martin Odersky <odersky@gmail.com> | 2013-09-28 12:15:14 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-09-28 12:15:14 +0200 |
commit | 1ffb9eb06217af4b500353f973648e73bb6a1cc1 (patch) | |
tree | c6d867b01a70964a727a5ab3275513eaaf670a22 /src/dotty/tools/dotc/Run.scala | |
parent | 7f9275a90d2664317dfb6d3450a8798418c1954f (diff) | |
download | dotty-1ffb9eb06217af4b500353f973648e73bb6a1cc1.tar.gz dotty-1ffb9eb06217af4b500353f973648e73bb6a1cc1.tar.bz2 dotty-1ffb9eb06217af4b500353f973648e73bb6a1cc1.zip |
Fixes problem with printing summary after compilation
Used wrong context/wrong reporter before.
Diffstat (limited to 'src/dotty/tools/dotc/Run.scala')
-rw-r--r-- | src/dotty/tools/dotc/Run.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/Run.scala b/src/dotty/tools/dotc/Run.scala index 50614e07b..962221994 100644 --- a/src/dotty/tools/dotc/Run.scala +++ b/src/dotty/tools/dotc/Run.scala @@ -27,4 +27,7 @@ class Run(comp: Compiler)(implicit ctx: Context) { phase.runOn(units) } } + + def printSummary(): Unit = + ctx.typerState.reporter.printSummary }
\ No newline at end of file |