Errors

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

Attributes

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

Members list

Concise view

Type members

Classlikes

case class AccessCold(field: Symbol)(trace: Seq[Tree]) extends Error

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
case class AccessNonInit(field: Symbol)(trace: Seq[Tree]) extends Error

Access non-initialized field

Access non-initialized field

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
case class CallCold(meth: Symbol)(trace: Seq[Tree]) extends Error

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
case class CallUnknown(meth: Symbol)(trace: Seq[Tree]) extends Error

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
sealed trait Error

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class PromoteError(msg: String)(trace: Seq[Tree]) extends Error

Promote a value under initialization to fully-initialized

Promote a value under initialization to fully-initialized

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
case class UnsafeLeaking(error: Error, nonHotOuterClass: Symbol, argsIndices: List[Int])(trace: Seq[Tree]) extends Error

Unsafe leaking a non-hot value as constructor arguments

Unsafe leaking a non-hot value as constructor arguments

Invariant: argsIndices.nonEmpty

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any
case class UnsafePromotion(msg: String, error: Error)(trace: Seq[Tree]) extends Error

Promote a value under initialization to fully-initialized

Promote a value under initialization to fully-initialized

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Error
class Object
trait Matchable
class Any

Value members

Concrete methods

def buildStacktrace(trace: Seq[Tree], preamble: String)(using Context): String
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