aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/TyperState.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/TyperState.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/TyperState.scala')
-rw-r--r--src/dotty/tools/dotc/core/TyperState.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TyperState.scala b/src/dotty/tools/dotc/core/TyperState.scala
index d14f6c24b..f7631fa22 100644
--- a/src/dotty/tools/dotc/core/TyperState.scala
+++ b/src/dotty/tools/dotc/core/TyperState.scala
@@ -11,7 +11,7 @@ import printing.{Showable, Printer}
import printing.Texts._
import annotation.elidable
-class TyperState(val reporter: Reporter = ThrowingReporter) extends DotClass with Showable {
+class TyperState(val reporter: Reporter) extends DotClass with Showable {
/** The current constraint set */
def constraint: Constraint = new Constraint(SimpleMap.Empty)