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

Precedence of the # operator #3

Open
trustedtomato opened this issue Dec 27, 2017 · 0 comments
Open

Precedence of the # operator #3

trustedtomato opened this issue Dec 27, 2017 · 0 comments

Comments

@trustedtomato
Copy link
Owner

Originally I thought the precedence should be between the Logical OR (… || …) and the Conditional (… ? … : …) as it would seem very wrong if #? || true would translate to (x => x) || true or #? ? ? : ? would translate to (x,y,z) => x ? y : z... (ternary operator discussion: #2)
But now I think that actually makes sense, so it should have the precedence of 3.5 (right above assignment). What are your thoughts?

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

No branches or pull requests

1 participant