Dotty Documentation

0.2.0-bin-SNAPSHOT

package dotty.tools.dotc.reporting

[-] Constructors

[-] Members

[+] class ConsoleReporter

This class implements a Reporter that displays messages on a text console

[+] object ConsoleReporter

This class implements a Reporter that displays messages on a text console

This trait implements isHidden so that we avoid reporting non-sensical messages.

[+] trait MessageRendering
[+] abstract class Reporter

This interface provides methods to issue information, warning and error messages.

[+] object Reporter
[+] trait Reporting
[+] class StoreReporter

This class implements a Reporter that stores all messages

Beware that this reporter can leak memory, and force messages in two scenarios:

  • During debugging config.Printers.typr is set from noPrinter to new Printer, which forces the message
  • The reporter is not flushed and the message containers capture a Context (about 4MB)
[+] class ThrowingReporter

This class implements a Reporter that throws all errors and sends warnings and other info to the underlying reporter.

This trait implements isHidden so that multiple messages per position are suppressed, unless they are of increasing severity.