UnsafePromotion

dotty.tools.dotc.transform.init.Errors.UnsafePromotion
case class UnsafePromotion(msg: String, error: Error)(trace: Trace) extends Error

Promote a value under initialization to fully-initialized

Attributes

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

Members list

Value members

Concrete methods

def show(using Context): String

Inherited methods

def issue(using Context): Unit

Attributes

Inherited from:
Error
def pos(using Context): SourcePosition

Attributes

Inherited from:
Error

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def stacktrace(using Context): String

Attributes

Inherited from:
Error

Concrete fields

val trace: Trace