Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of parenthesized expression and inline function. #718

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

gdotdesign
Copy link
Member

@gdotdesign gdotdesign commented Nov 27, 2024

Related to #717 In it, (err: String) is incorrectly getting parsed as a parenthesized expression and errors out. This PR fixes it by trying to parse both and return the one that succeeds.

@gdotdesign gdotdesign added the bug Something isn't working label Nov 27, 2024
@gdotdesign gdotdesign added this to the 0.21.0 milestone Nov 27, 2024
@gdotdesign gdotdesign requested a review from Sija November 27, 2024 13:03
@gdotdesign gdotdesign self-assigned this Nov 27, 2024
@gdotdesign gdotdesign changed the title Change parsing order of parenthesized expression and inline function. Fix parsing order of parenthesized expression and inline function. Nov 27, 2024
@gdotdesign gdotdesign changed the title Fix parsing order of parenthesized expression and inline function. Fix parsing of parenthesized expression and inline function. Nov 27, 2024
@gdotdesign gdotdesign merged commit 89203c0 into master Dec 3, 2024
3 checks passed
@gdotdesign gdotdesign deleted the parsing-order branch December 3, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants