HideNonSensicalMessages

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

class Reporter
trait ReporterResult
class Object
trait Matchable
class Any

Value members

Concrete methods

override def isHidden(dia: Diagnostic)(using Context): Boolean

Hides non-sensical messages, unless we haven't reported any error yet or -Yshow-suppressed-errors is set.

Hides non-sensical messages, unless we haven't reported any error yet or -Yshow-suppressed-errors is set.

Definition Classes

Inherited methods

All errors reported by this reporter (ignoring outer reporters)

All errors reported by this reporter (ignoring outer reporters)

Inherited from
Reporter
def doReport(dia: Diagnostic)(using Context): Unit

Report a diagnostic

Report a diagnostic

Inherited from
Reporter

The number of errors reported by this reporter (ignoring outer reporters)

The number of errors reported by this reporter (ignoring outer reporters)

Inherited from
Reporter

Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?

Have errors been reported by this reporter, or in the case where this is a StoreReporter, by an outer reporter?

Inherited from
Reporter
def flush(using Context): Unit

Issue all error messages in this reporter to next outer one, or make sure they are written.

Issue all error messages in this reporter to next outer one, or make sure they are written.

Inherited from
Reporter

Have errors been reported by this reporter (ignoring outer reporters)?

Have errors been reported by this reporter (ignoring outer reporters)?

Inherited from
Reporter

Were sticky errors reported? Overridden in StoreReporter.

Were sticky errors reported? Overridden in StoreReporter.

Inherited from
Reporter

Does this reporter contain errors that have yet to be reported by its outer reporter ? Note: this is always false when there is no outer reporter.

Does this reporter contain errors that have yet to be reported by its outer reporter ? Note: this is always false when there is no outer reporter.

Inherited from
Reporter

Have warnings been reported by this reporter (ignoring outer reporters)?

Have warnings been reported by this reporter (ignoring outer reporters)?

Inherited from
Reporter
def incomplete(dia: Diagnostic)(using Context): Unit
Inherited from
Reporter
Inherited from
Reporter

If this reporter buffers messages, all buffered messages, otherwise Nil

If this reporter buffers messages, all buffered messages, otherwise Nil

Inherited from
Reporter

Print the summary of warnings and errors

Print the summary of warnings and errors

Inherited from
Reporter

If this reporter buffers messages, remove and return all buffered messages.

If this reporter buffers messages, remove and return all buffered messages.

Inherited from
Reporter
def report(dia: Diagnostic)(using Context): Unit
Inherited from
Reporter
def reportNewFeatureUseSite(featureTrait: Symbol): Unit
Inherited from
Reporter

Run op and return true if errors were reported by this reporter.

Run op and return true if errors were reported by this reporter.

Inherited from
Reporter

Summary of warnings and errors

Summary of warnings and errors

Inherited from
Reporter
Inherited from
Reporter

The number of warnings reported by this reporter (ignoring outer reporters)

The number of warnings reported by this reporter (ignoring outer reporters)

Inherited from
Reporter
def withIncompleteHandler[T](handler: ErrorHandler)(op: => T): T
Inherited from
Reporter
def withoutTruncating[T](body: => T): T
Inherited from
Reporter

Inherited fields