MutAdaptFailure

dotty.tools.dotc.cc.CaptureSet.MutAdaptFailure
case class MutAdaptFailure(cs: CaptureSet, lo: Type, hi: Type) extends ErrorNote

Failure indicating that a read-only capture set of a mutable type cannot be widened to an exclusive set.

Value parameters

cs

the exclusive set in question

hi

the upper type of the orginal type comparison, or NoType if not known

lo

the lower type of the orginal type comparison, or NoType if not known

Attributes

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

Members list

Value members

Inherited methods

def kind: Class[_]

A disciminating kind. An error note is not added if it has the same kind as an already existing error note.

A disciminating kind. An error note is not added if it has the same kind as an already existing error note.

Attributes

Inherited from:
ErrorNote

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product