This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 452506c02f Fix rendering of increment in operator precedence
452506c02f is described below
commit 452506c02f161ef81027a590d9c375674abadd87
Author: Aleks Tamarkin <[email protected]>
AuthorDate: Fri Sep 26 10:01:05 2025 -0400
Fix rendering of increment in operator precedence
---
src/spec/doc/core-operators.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index 8d15deced2..f195e07c8c 100644
--- a/src/spec/doc/core-operators.adoc
+++ b/src/spec/doc/core-operators.adoc
@@ -887,7 +887,7 @@ The table below lists all groovy operators in order of
precedence.
| | `~` {nbsp} `!` {nbsp} `(type)` | bitwise negate/pattern, not, typecast
| | `[]` {nbsp} `?[]` {nbsp} `++` {nbsp} `--` | list/map/array (safe) index,
post inc/decrement
| 2 | `**` | power
-| 3 | `++` {nbsp} `--` {nbsp} `+` {nbsp} `-` | pre inc/decrement, unary plus,
unary minus
+| 3 | `\++` {nbsp} `--` {nbsp} `+` {nbsp} `-` | pre inc/decrement, unary plus,
unary minus
| 4 | `*` {nbsp} `/` {nbsp} `%` | multiply, div, remainder
| 5 | `+` {nbsp} `-` | addition, subtraction
| 6 | `<<` {nbsp} `>>` {nbsp} `>>>` {nbsp} `..` {nbsp} `..<` {nbsp} `<..<`
{nbsp} `<..` | left/right (unsigned) shift, inclusive/exclusive ranges