aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-09-23 12:26:55 +0200
committerMartin Odersky <odersky@gmail.com>2013-09-23 12:28:05 +0200
commitc90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405 (patch)
tree85ca8768f5d4544bf6c5940393a18abaf90b4a57 /src/dotty/tools/dotc/core/Contexts.scala
parent625d7ad00d43fb77df55c1ace30db1e6ccdf6179 (diff)
downloaddotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.tar.gz
dotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.tar.bz2
dotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.zip
Changed Throwing reporting scheme.
Changed ThrowingReporter to use an underlying reporter for issuing messages below ERROR. Made ThrowingReporters the default in initialContext.
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index 841b83376..761f7764e 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -320,7 +320,7 @@ object Contexts {
outer = NoContext
period = InitialPeriod
mode = Mode.None
- typerState = new TyperState(new ConsoleReporter()(this))
+ typerState = new TyperState(new ThrowingReporter(new ConsoleReporter()(this)))
printerFn = new RefinedPrinter(_)
owner = NoSymbol
sstate = settings.defaultState