3 ms·
Ambiguous is definitely correct. The precedence is ambiguous, but the language chooses to make that ambiguity illegal. In some languages it might fall under th
by reanimus 3y ago
Ambiguous is definitely correct. The precedence is ambiguous, but the language chooses to make that ambiguity illegal.
In some languages it might fall under the realm of "undefined behavior" (in that it compiles/validates syntactically but will likely blow up at runtime), though most linters for even those languages warn you about that. Alternatively, it might define a precedence for you, avoiding the need for parens.