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

Missing closing parentheses are not always handled as errors #5473

Open
daniel-szarkowicz opened this issue Dec 3, 2024 · 1 comment
Open
Labels

Comments

@daniel-szarkowicz
Copy link

The following expressions are parsed without errors:

> [(1]    -- evaluates to [1]
> [(1, 1] -- evaluates to [(1, 1)]
> ([)     -- evaluates to []
> (1, [   -- only works at the end of the file, evaluates to (1, [])

Environment:

  • unison version: trunk-build (built on 2024-12-02)
  • OS: Arch Linux

Additional context
This issue might be related to #469 and deff4b2.

@ceedubs
Copy link
Contributor

ceedubs commented Dec 3, 2024

This is closely related to #3277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants