Errors
dotty.tools.dotc.transform.init.Errors
object Errors
Members list
Type members
Classlikes
case class AccessCold(field: Symbol)(trace: Trace) extends Error
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
case class AccessNonInit(field: Symbol)(trace: Trace) extends Error
Access non-initialized field
Access non-initialized field
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
case class CallUnknown(meth: Symbol)(trace: Trace) extends Error
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class AccessColdclass AccessNonInitclass CallColdclass CallUnknownclass PromoteErrorclass UnsafeLeakingclass UnsafePromotionShow 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 Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
Unsafe leaking a non-hot value as constructor arguments
Unsafe leaking a non-hot value as constructor arguments
Invariant: argsIndices.nonEmpty
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait Errorclass Objecttrait Matchableclass AnyShow all
In this article