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
Right now, the parser can't really understand the precedence between binary operators.
For example, the sentence println(i == 5 && j == 3) is generating a compile error, because the AND operator (&&) is trying to associate the resultor 'i == 5' with the variable 'j', and not with the resultor 'j == 3'. However, the sentence println(i == 5 && !j) is valid, because there is a unary operator NOT (!) instead of a binary operator.
The text was updated successfully, but these errors were encountered:
Right now, the parser can't really understand the precedence between binary operators.
For example, the sentence
println(i == 5 && j == 3)
is generating a compile error, because the AND operator (&&) is trying to associate the resultor 'i == 5' with the variable 'j', and not with the resultor 'j == 3'. However, the sentenceprintln(i == 5 && !j)
is valid, because there is a unary operator NOT (!) instead of a binary operator.The text was updated successfully, but these errors were encountered: