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

[ parser ] Fix issue parsing unquote #3253

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

dunhamsteve
Copy link
Contributor

Description

This PR addresses #3251 - where unquote was picking up postfix expressions where it wasn't expected.

Previously, (g ~(f 5).fun) would unquote all of (f 5).fun and now it only unquotes (f 5). Similarly ~x.fun would unquote x.fun and now it only unquotes x.

The code from #3251 is used as a test case.

Should this change go in the CHANGELOG?

I've added it to CHANGELOG_NEXT since it may break existing code.

@andrevidela
Copy link
Collaborator

while I'm here, this looks good

@andrevidela andrevidela merged commit 84ce3a6 into idris-lang:main Apr 27, 2024
22 checks passed
@dunhamsteve dunhamsteve deleted the issue3251 branch April 28, 2024 00:00
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.

2 participants