ConditionalWarning

dotty.tools.dotc.reporting.Diagnostic.ConditionalWarning
abstract class ConditionalWarning(msg: Message, pos: SourcePosition) extends Warning

Attributes

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

Members list

Value members

Abstract methods

Concrete methods

override def isSummarizedConditional(using Context): Boolean

Attributes

Definition Classes

Inherited methods

override def diagnosticRelatedInformation: List[DiagnosticRelatedInformation]

Attributes

Definition Classes
Diagnostic -> Diagnostic
Inherited from:
Diagnostic

Attributes

Inherited from:
Diagnostic
override def message: String

Attributes

Definition Classes
Diagnostic -> Diagnostic
Inherited from:
Diagnostic
override def position: Optional[SourcePosition]

Attributes

Definition Classes
Diagnostic -> Diagnostic
Inherited from:
Diagnostic
def setVerbose(): Diagnostic.this.type

Attributes

Inherited from:
Diagnostic
def toError: Error

Attributes

Inherited from:
Warning
def toInfo: Info

Attributes

Inherited from:
Warning
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Diagnostic -> Any
Inherited from:
Diagnostic

Inherited fields

val level: Int

Attributes

Inherited from:
Diagnostic