trustedtomato/proposal-partial-expression

Precedence of the # operator

trustedtomato opened this issue · 0 comments

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?