mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
SPEC change: ^ is right-assoc and of highest priority
This commit is contained in:
@@ -368,7 +368,7 @@ indentation tokens is already described in the `Lexical Analysis`_ section.
|
||||
Nimrod allows user-definable operators.
|
||||
Binary operators have 8 different levels of precedence. For user-defined
|
||||
operators, the precedence depends on the first character the operator consists
|
||||
of. All binary operators are left-associative, except binary operator starting
|
||||
of. All binary operators are left-associative, except binary operators starting
|
||||
with (or only consisting of) ``^``.
|
||||
|
||||
================ ============================================== ================== ===============
|
||||
|
||||
Reference in New Issue
Block a user