aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/reporting
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-03-22 12:47:27 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-03-29 10:33:26 +0200
commit4e8eb320a882124630fb50d53d3d8c3721d9bd4e (patch)
tree6df525e5b7125bfc42f91a6b71abac6d108c1cba /compiler/src/dotty/tools/dotc/reporting
parenta172e45ea3392f6fa526f64cb0e2947755f9a0c2 (diff)
downloaddotty-4e8eb320a882124630fb50d53d3d8c3721d9bd4e.tar.gz
dotty-4e8eb320a882124630fb50d53d3d8c3721d9bd4e.tar.bz2
dotty-4e8eb320a882124630fb50d53d3d8c3721d9bd4e.zip
Consolidate test reporters in `TestReporter` always dumping log file
Diffstat (limited to 'compiler/src/dotty/tools/dotc/reporting')
-rw-r--r--compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala3
-rw-r--r--compiler/src/dotty/tools/dotc/reporting/Reporter.scala2
2 files changed, 1 insertions, 4 deletions
diff --git a/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala b/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala
index 95f468995..9942b9ab9 100644
--- a/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala
+++ b/compiler/src/dotty/tools/dotc/reporting/ConsoleReporter.scala
@@ -17,9 +17,6 @@ class ConsoleReporter(
import MessageContainer._
- /** maximal number of error messages to be printed */
- protected def ErrorLimit = 100
-
/** Prints the message. */
def printMessage(msg: String): Unit = { writer.print(msg + "\n"); writer.flush() }
diff --git a/compiler/src/dotty/tools/dotc/reporting/Reporter.scala b/compiler/src/dotty/tools/dotc/reporting/Reporter.scala
index b2c7abec9..77ea1884d 100644
--- a/compiler/src/dotty/tools/dotc/reporting/Reporter.scala
+++ b/compiler/src/dotty/tools/dotc/reporting/Reporter.scala
@@ -63,7 +63,7 @@ trait Reporting { this: Context =>
|This can be achieved by adding the import clause 'import $fqname'
|or by setting the compiler option -language:$feature.
|See the Scala docs for value $fqname for a discussion
- |why the feature $req be explicitly enabled."""
+ |why the feature $req be explicitly enabled.""".stripMargin
}
}