Skip to content

Compiler conformance cases for given-up guarantees #224

Closed

Description

@Kinflou

Part of #219, for #222 and #220. Proposal: ComlineProject/docs#162.

Compiler conformance cases: schema graphs as data, with their expected outcome, which any compiler, the language server or another tool must reproduce, the way runtimes must reproduce the conformance vectors' bytes. Each case gives:

  • the given-up guarantees per protocol, with scope, chain to the cause and origin reason;
  • the errors and warnings expected (missing acknowledgement, needless marker, wrong scope, stale pin, missing acceptance).

The cases live in the spec repository once it exists (#220). Until then, start them in core and move them over.

Activity

  1. Kinflou commented on Nov 15, 2026

    @Kinflou
    MemberAuthor

    Core's part is done. specification#5 holds the case format and the corpus (42 cases), and core#243 runs them in CI (tests/package/compiler_cases.rs, CORE_DISAGREES empty). The remaining pieces are tracked elsewhere: specification#8 (cases for strict mode and inner scopes) and language-server#102 (the language server running the corpus).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2SoontestingTests, fuzzing, conformance

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions