Skip to content

hclsyntax: Report correct Range.End for FunctionCall w/ incomplete arg#588

Merged
radeksimko merged 1 commit intomainfrom
b-fix-func-closetok-parsing
Feb 10, 2023
Merged

hclsyntax: Report correct Range.End for FunctionCall w/ incomplete arg#588
radeksimko merged 1 commit intomainfrom
b-fix-func-closetok-parsing

Conversation

@radeksimko
Copy link
Copy Markdown
Member

@radeksimko radeksimko commented Feb 9, 2023

Closes #582

Passing tests suggest this isn't breaking anything else, but I'm open to suggestions for any more (careful) changes to avoid any unforeseen consequences.

@apparentlymart apparentlymart requested a review from a team February 9, 2023 16:18
@radeksimko radeksimko force-pushed the b-fix-func-closetok-parsing branch 4 times, most recently from c01356e to 85634f7 Compare February 10, 2023 13:45
Copy link
Copy Markdown
Contributor

@alisdair alisdair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how to usefully review the parser_test changes, but the change to parser.go seems logical to me.

@radeksimko radeksimko merged commit 67041cc into main Feb 10, 2023
@radeksimko radeksimko deleted the b-fix-func-closetok-parsing branch February 10, 2023 16:33
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 range for FunctionCallExpr w/ incomplete ObjectConsExpr inside

2 participants