aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/reporting/Reporter.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-09-18 08:45:29 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-10 13:25:34 +0200
commit628b7f317756ce2c366359a7399b8dda9d0190b7 (patch)
treeda64dc5eb15095287272a616f43ad56afaba3763 /src/dotty/tools/dotc/reporting/Reporter.scala
parent787a2ceec02fe07fbb9efee673d3abb7cac2969e (diff)
downloaddotty-628b7f317756ce2c366359a7399b8dda9d0190b7.tar.gz
dotty-628b7f317756ce2c366359a7399b8dda9d0190b7.tar.bz2
dotty-628b7f317756ce2c366359a7399b8dda9d0190b7.zip
Make `FancyConsoleReporter` and `Highlighting` obey color setting
Fancy console reporter and the string interpolator for highlighting now obey the color setting - this means that the next step towards unifying the reporters is to make sure the tests work with `FancyConsoleReporter` under the `-color:never` flag.
Diffstat (limited to 'src/dotty/tools/dotc/reporting/Reporter.scala')
-rw-r--r--src/dotty/tools/dotc/reporting/Reporter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/Reporter.scala b/src/dotty/tools/dotc/reporting/Reporter.scala
index fe226b284..538464daa 100644
--- a/src/dotty/tools/dotc/reporting/Reporter.scala
+++ b/src/dotty/tools/dotc/reporting/Reporter.scala
@@ -247,7 +247,7 @@ abstract class Reporter extends interfaces.ReporterResult {
/** Summary of warnings and errors */
- def summary: String = {
+ def summary/*(implicit ctx: Context)*/: String = {
val b = new mutable.ListBuffer[String]
if (warningCount > 0)
b += countString(warningCount, "warning") + " found"