Warning

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

Attributes

Graph
Supertypes
class Diagnostic
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def toError: Error
def toInfo: Info

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
override def getMessage(): String

Attributes

Definition Classes
Inherited from:
Diagnostic

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

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

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
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 -> Throwable -> Any
Inherited from:
Diagnostic

Inherited fields

val level: Int

Attributes

Inherited from:
Diagnostic