Skip to content

test: start the permanent Flow 1.0 conformance corpus - #657

Merged
godofecht merged 11 commits into
mainfrom
stabilize/1.0-conformance-core
Aug 21, 2026
Merged

godofecht merged 11 commits into
mainfrom
stabilize/1.0-conformance-core

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Starts #641 with executable, specification-linked compatibility fixtures.

This adds tests/conformance/ with positive fixtures for functions, structs, fixed arrays and control flow, plus a negative type-mismatch fixture. Every fixture carries a # spec: marker back to docs/LANGUAGE_SPEC.md.

test_core_conformance.py compiles and executes the positive fixtures through the normal C backend and requires exit code 42; negative fixtures must be rejected by the type checker. This directory is intended to become the permanent 1.0.0 compatibility corpus that every future 1.x compiler keeps passing.

This is intentionally only the first slice. #641 remains open until every Stable spec section has positive, negative and edge-case coverage and the corpus is exercised under both flowc and the Python reference path.

Related: #641 #642 #653.

@godofecht
godofecht marked this pull request as ready for review August 21, 2026 19:37
@godofecht
godofecht merged commit ec0afb2 into main Aug 21, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant