Diagnostic

dotty.tools.dotc.reporting.Diagnostic
See theDiagnostic companion class
object Diagnostic

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Diagnostic.type

Members list

Type members

Classlikes

abstract class ConditionalWarning(msg: Message, pos: SourcePosition) extends Warning

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
class Error(msg: Message, pos: SourcePosition) extends Diagnostic

Attributes

Supertypes
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Known subtypes
class StickyError

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
class Info(msg: Message, pos: SourcePosition) extends Diagnostic

Attributes

Supertypes
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
class LintWarning(msg: Message, pos: SourcePosition, origin: String) extends Warning, OriginWarning

Lints are likely to be filtered. Provide extra axes for filtering by -Wconf.

Lints are likely to be filtered. Provide extra axes for filtering by -Wconf.

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
class MigrationWarning(msg: Message, pos: SourcePosition) extends Warning

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
trait OriginWarning(val origin: String)

A Warning with an origin. The semantics of origin depend on the warning. For example, an unused import warning has an origin that specifies the unused selector. The origin of a deprecation is the deprecated element.

A Warning with an origin. The semantics of origin depend on the warning. For example, an unused import warning has an origin that specifies the unused selector. The origin of a deprecation is the deprecated element.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
class StickyError(msg: Message, pos: SourcePosition) extends Error

A sticky error is an error that should not be hidden by backtracking and trying some alternative path. Typically, errors issued after catching a TypeError exception are sticky.

A sticky error is an error that should not be hidden by backtracking and trying some alternative path. Typically, errors issued after catching a TypeError exception are sticky.

Attributes

Supertypes
class Error
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Warning
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Show all
class Warning(msg: Message, pos: SourcePosition) extends Diagnostic

Attributes

Supertypes
class Diagnostic
trait Diagnostic
class Object
trait Matchable
class Any
Known subtypes

Value members

Concrete methods