Skip to content

Conformance cases: own-schema paths, provenance, groups, import formatting #11

Open

Description

@Kinflou

Part of ComlineProject/core#281. Proposal: ComlineProject/docs#178 (accepted in docs#181), rollout.

New compiler cases in compiler/src, regenerated into compiler/cases by specs/check.sh:

  • a bare path to a package's own schema, which is an error, and the clean package:: form (specification#12, group imports);

  • a package with a dependency and an own schema of the same first word, which the shadowing guard refuses (specification#12);

  • reserved dependency names (specification#12);

  • a group on an entry, and the same package regrouped, with the same outcome (waits for core#284).

  • A new kind of case, format: a schema's text, a configuration, and the text the formatter must produce. Cover:

  • the default order;

  • a custom imports.order;

  • groups.

  • Catalog entries for the new diagnostic codes. (The catalog has no diagnostics section yet; specification#12 put import::bare-own-schema-path and import::unresolved in the closed code list in specs/compiler.cue, and they move to the catalog when it grows one.)

Activity

  1. Kinflou commented on Nov 15, 2026

    @Kinflou
    MemberAuthor

    Ticked what specification#12 delivered: bare own-schema paths and the package:: form, the shadowing guard, and reserved dependency names (compiler group imports). Still open: group cases and the format kind of case (both wait on core#284), and the catalog entries (no diagnostics section yet; the import::* codes sit in the closed list in specs/compiler.cue).

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

    P0Now: top prioritycompilerParser, IR, CASenhancementNew feature or requesttestingTests, fuzzing, conformance

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions