Skip to content

parsers: prevent invalid casts in Repeat<Unit> - #32

Merged
rameel merged 1 commit into
mainfrom
parsers/repeat-unit
Sep 28, 2026
Merged

rameel merged 1 commit into
mainfrom
parsers/repeat-unit

Conversation

@rameel

@rameel rameel commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Restrict the character-class optimization to Repeat<char> so explicit Repeat<Unit> calls return a list without throwing.

@rameel
rameel merged commit a54c710 into main Sep 28, 2026
2 checks passed
@rameel
rameel deleted the parsers/repeat-unit branch September 28, 2026 13:02
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