Skip to content

Update enum payload syntax to colon form - #43

Merged
neysofu merged 2 commits into
mainfrom
filippo/codex/update-enum-definition-syntax
Mar 6, 2026
Merged

Update enum payload syntax to colon form#43
neysofu merged 2 commits into
mainfrom
filippo/codex/update-enum-definition-syntax

Conversation

@neysofu

@neysofu neysofu commented Mar 6, 2026

Copy link
Copy Markdown
Member

Summary

  • switch parser handling and legacy docs/tests to require Variant: Type payload syntax with unit variants remaining bare
  • refresh stdlib references, fixtures, and formatter snapshot to the new enum form, covering JSON enums, option/result helpers, hash collections, and IO helpers
  • add parser tests for the new syntax and rejection of legacy parentheses while updating AGENTS guidance

Testing

  • Not run (not requested)

@neysofu
neysofu merged commit 102a003 into main Mar 6, 2026
1 of 2 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