Skip to content

fix: correct location for variadicplaceholder nodes#1242

Open
jorgsowa wants to merge 1 commit intomainfrom
fix/variadic-placeholder-location
Open

fix: correct location for variadicplaceholder nodes#1242
jorgsowa wants to merge 1 commit intomainfrom
fix/variadic-placeholder-location

Conversation

@jorgsowa
Copy link
Copy Markdown
Collaborator

@jorgsowa jorgsowa commented Apr 2, 2026

Fixes the end location of T_ELLIPSIS.

Finalize the node after advancing past T_ELLIPSIS so that parser.prev
captures the end of '...' rather than the preceding '(' token.
Previously start == end and source was empty string.
@jorgsowa jorgsowa self-assigned this Apr 2, 2026
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