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

Add try precedence to the language documentation #10230

Open
czrptr opened this issue Nov 26, 2021 · 2 comments
Open

Add try precedence to the language documentation #10230

czrptr opened this issue Nov 26, 2021 · 2 comments
Labels
Milestone

Comments

@czrptr
Copy link

czrptr commented Nov 26, 2021

The precedence of try is not explicitly stated in the language docs. It should be added to the operator precedence table.

@andrewrk andrewrk added the docs label Nov 26, 2021
@andrewrk andrewrk added this to the 1.0.0 milestone Nov 26, 2021
@matu3ba
Copy link
Contributor

matu3ba commented Nov 27, 2021

see #114 on why its not there. This belongs into appendix for 1.0 release on how "unclear from context" is resolved, ie how compiler detects that its meaning is ambiguous to error out and require brackets.

@nektro
Copy link
Contributor

nektro commented Dec 6, 2021

it trips up a lot of people, because many assume the precedence of try is much higher than it is so you run into unexpected compile errors

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

4 participants