unisonweb/unison

Missing closing parentheses are not always handled as errors

Opened this issue · 1 comments

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.

This is closely related to #3277.