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

Fixed [{ }] notation for issue #2675 #2677

Merged
merged 2 commits into from
May 29, 2024

Conversation

Jolanrensen
Copy link
Contributor

Fixes #2675

Description

Fixes the erroneous error for notations like [{ }], as described in the issue.
The }] case was already handled by #596, but the [{ notation needed some additional fix. There was a special exception for ({, and since this one is similar, I added the case for LBRACKET too.

Two tests were added, one to check that notations like [{ a -> a }], [{ }], and [{}] are allowed, and a second one to check that [ { } ] is formatted correctly.

@paul-dingemans
Copy link
Collaborator

Tnx for reporting and fixing. I made some small changes from consistency viewpoint.

@paul-dingemans paul-dingemans added this to the 1.3.0 milestone May 29, 2024
@paul-dingemans paul-dingemans merged commit 58a5365 into pinterest:master May 29, 2024
11 checks passed
@Jolanrensen Jolanrensen deleted the operator-get-with-lambda branch June 11, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

operator get with lambda: incorrect error
2 participants