mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 10:53:34 +03:00
8771855993
Fix failure to parse a syntax case involving unexpected usage of annotated expressions (fixes #11691). The root cause of the bug was usage of the `matches!` macro in a situation where a `match` statement should have been used to enforce exhaustiveness. - I have corrected the bug, and reviewed all usages of the `matches!` macro. I didn't find any other *incorrect* usages of `matches!`, but I found and replaced some potentially *fragile* uses. I also simplified some unnecessary uses of `matches!`, replacing them with expressions that are more-obviously correct. - Stricter parsing: It is now a syntax error for an inline annotation to occur in the RHS of an application (e.g. `fn @Tail_Call recur`)--the precedence in this case may be surprising, so parentheses should be used around the annotated expression. `parse_all_enso_files.sh`: This PR does not affect any AST in the .enso corpus. |
||
---|---|---|
.. | ||
java | ||
js/runner | ||
rust | ||
scala | ||
README.md |
Libraries
This directory contains the libraries that should remain in this project, but that are not technically part of the main language implementation itself.