Coral 0.2.17 candidate API
    Preparing search index...

    Interface Diagnostic

    A diagnostic with no inherent source location — what the printer produces, since a graph has no line numbers.

    interface Diagnostic {
        code: string;
        hint?: string;
        message: string;
        position?: SourcePosition;
        range?: DiagnosticRange;
        related?: readonly DiagnosticRelatedLocation[];
        severity: DiagnosticSeverity;
        source?: string;
        subject?: DiagnosticSubject;
    }

    Hierarchy (View Summary)

    Index
    code: string

    <producer>.<construct>.<disposition>; the construct may itself be dotted.

    hint?: string
    message: string
    position?: SourcePosition

    Exact half-open range when both boundaries are known.

    related?: readonly DiagnosticRelatedLocation[]
    source?: string

    Verbatim source slice that was dropped or degraded.