You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I strongly disagree with this; x y + 1 would be valid both before and after; before as a function call, after as an expression statement. If you really need precedent, use: multi(1) + multi(3).
Looks like I only replied on discord. The precedence of function calling in this scenario will not change, and will probably never change! You're welcome to fork though :)
BTW this syntax is inspired by what coffeescript does, and works the same as that.
I think function calls should take precedence over inflix operators in
moonscript
.Currently inflix is processed first:
I agree it might break existing
moonscript
codebase. So the change should be made inmoonscript 2.0
The text was updated successfully, but these errors were encountered: