Skip to content

test: check and emit agree on accepted members and blocks #459

Closed

Description

@e54-bot

Parent: #451

Problem

check accepted hero settings members emit cannot emit (#438), and blocks under catalogued keys were rejected at parse/check/emit while uncatalogued siblings carried (#413, #424). Whatever check accepts, emit must be able to emit, and the reverse.

Scope

Add tests over hero settings members and catalogued versus uncatalogued keyed blocks asserting parse, check, and emit agree on the same inputs.

Non-goals

A general reparse harness over the whole emit surface (decided against in #453).

Acceptance criteria

  • Every program check accepts in the covered areas is emitted without error.
  • Catalogued and uncatalogued keys are treated consistently by parse, check, and emit for carried blocks.
  • The test fails if check accepts a member or block that emit cannot emit.
  • Any disagreement found is fixed by sharing the established check.
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

    ready-for-implementationContract settled; an Engineer can implement without inventing a decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions