Errors

dotty.tools.dotc.transform.init.Errors
object Errors

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Errors.type

Members list

Type members

Classlikes

case class AccessCold(field: Symbol)(trace: Trace) extends Error

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
case class AccessNonInit(field: Symbol)(trace: Trace) extends Error

Access non-initialized field

Access non-initialized field

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
case class CallCold(meth: Symbol)(trace: Trace) extends Error

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
case class CallUnknown(meth: Symbol)(trace: Trace) extends Error

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
sealed trait Error

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AccessCold
class CallCold
class CallUnknown
class PromoteError
Show all
case class PromoteError(msg: String)(trace: Trace) extends Error

Promote a value under initialization to fully-initialized

Promote a value under initialization to fully-initialized

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
case class UnsafeLeaking(error: Error, nonHotOuterClass: Symbol, argsIndices: List[Int])(trace: Trace) extends Error

Unsafe leaking a non-hot value as constructor arguments

Unsafe leaking a non-hot value as constructor arguments

Invariant: argsIndices.nonEmpty

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all
case class UnsafePromotion(msg: String, error: Error)(trace: Trace) extends Error

Promote a value under initialization to fully-initialized

Promote a value under initialization to fully-initialized

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

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
Any