Warning

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

Attributes

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

Members list

Value members

Concrete methods

def toError: Error
def toInfo: Info

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
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