aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-08-16 19:01:08 +0200
committerMartin Odersky <odersky@gmail.com>2013-08-16 19:01:08 +0200
commit502f426981105df448896f635ef559cd72787c43 (patch)
treeca3a85271ae10c7f697dd3e88b07b7045bf81e2e /src/dotty/tools/dotc/Compiler.scala
parentf540194f1b04c044c969772d5989d129264ea781 (diff)
downloaddotty-502f426981105df448896f635ef559cd72787c43.tar.gz
dotty-502f426981105df448896f635ef559cd72787c43.tar.bz2
dotty-502f426981105df448896f635ef559cd72787c43.zip
Various bugfixes for namer/typer/trees
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index e094cc06c..6f5e162ee 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -6,6 +6,7 @@ import Contexts._
import Periods._
import Symbols._
import typer.{FrontEnd, Typer}
+import reporting.ConsoleReporter
class Compiler {
@@ -17,6 +18,7 @@ class Compiler {
.withPeriod(Period(ctx.runId + 1, FirstPhaseId))
.withOwner(defn.RootClass)
.withTyper(new Typer)
+ .withTyperState(new MutableTyperState(ctx.typerState, new ConsoleReporter()(ctx)))
}
def newRun(implicit ctx: Context): Run =