Skip to content

fix: include closing paren in TParens end position#15

Merged
robinheghan merged 1 commit into
gren-lang:mainfrom
SAY-5:fix-tparens-end-position
May 12, 2026
Merged

fix: include closing paren in TParens end position#15
robinheghan merged 1 commit into
gren-lang:mainfrom
SAY-5:fix-tparens-end-position

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown
Contributor

Read the source position after consuming the closing ) so the recorded SourcePosition for TParens covers the full parenthesized type.

Fixes #12

Fixes gren-lang#12

Signed-off-by: SAY-5 <say.apm35@gmail.com>
@robinheghan

Copy link
Copy Markdown
Member

Thank you!

@robinheghan
robinheghan merged commit 99d3d84 into gren-lang:main May 12, 2026
1 check 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.

Incorrect parsed end position for TParens

2 participants