Skip to content

Accept suffixes in all parameterized rule arguments - #820

Merged
ydah merged 1 commit into
masterfrom
fix/parameterized-argument-suffixes
Oct 23, 2026
Merged

ydah merged 1 commit into
masterfrom
fix/parameterized-argument-suffixes

Conversation

@ydah

@ydah ydah commented Oct 21, 2026

Copy link
Copy Markdown
Member

list(A?) raised NoMethodError because suffix names were strings while argument parsing expected tokens. Suffixed arguments also passed a single token instead of an array, and suffixes were rejected after the first argument.

Parse every argument through a shared rule and preserve suffix locations. Build source ranges for suffixed arguments and nested calls from their tokens instead of the lexer's current position.

@ydah
ydah force-pushed the fix/parameterized-argument-suffixes branch from d85bd24 to 2cc97f4 Compare October 23, 2026 12:26
@ydah
ydah merged commit 0b6e7f8 into master Oct 23, 2026
45 checks passed
@ydah
ydah deleted the fix/parameterized-argument-suffixes branch October 23, 2026 14:25
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