IncludeFailure

dotty.tools.dotc.cc.CaptureSet.IncludeFailure
case class IncludeFailure(cs: CaptureSet, elem: Capability, levelError: Boolean) extends ErrorNote, Showable

Failure indicating that elem cannot be included in cs

Attributes

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

Members list

Value members

Concrete methods

override def toText(printer: Printer): Text

The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.

The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.

Attributes

Definition Classes

Inherited methods

def fallbackToText(printer: Printer): Text

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

A fallback text representation, if the pattern matching in Printers does not have a case for this showable element

Attributes

Inherited from:
Showable
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
def show(using Context): String

The string representation of this showable element.

The string representation of this showable element.

Attributes

Inherited from:
Showable
def showIndented(margin: Int)(using Context): String

The string representation with each line after the first one indented by the given given margin (in spaces).

The string representation with each line after the first one indented by the given given margin (in spaces).

Attributes

Inherited from:
Showable
def showSummary(depth: Int)(using Context): String

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.

Attributes

Inherited from:
Showable