Skip to content

Commit

Permalink
chore(docs): Fix prefix decrement precedence (grain-lang#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer authored Sep 20, 2021
1 parent 9ecb49b commit 5788126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contributor/operator_precedence.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This table shows which operators take precedence over other operators, and can b
| 180 | Grouping | n/a | `( … )` |
| 170 | Member Access<br>Computed Member Access<br>Function Call | left-to-right<br>left-to-right<br>left-to-right | `… . …`<br>`… [ … ]`<br>`… ( … )` |
| 160 | Postfix Increment<br>Postfix Decrement | n/a | NYI |
| 150 | Logical NOT<br>Bitwise NOT<br>Unary Negation<br>Unbox<br>Prefix Increment<br>Postfix Increment | right-to-left | `! …`<br>NYI<br>`- …`<br>`^ …`<br>NYI<br>NYI |
| 150 | Logical NOT<br>Bitwise NOT<br>Unary Negation<br>Unbox<br>Prefix Increment<br>Prefix Decrement | right-to-left | `! …`<br>NYI<br>`- …`<br>`^ …`<br>NYI<br>NYI |
| 140 | Annotation | left-to-right | `… : …` |
| 130 | Exponentiation | right-to-left | NYI |
| 120 | Multiplication<br>Division<br>Modulus | left-to-right | `… * …`<br>`… / …`<br>`… % …` |
Expand Down

0 comments on commit 5788126

Please sign in to comment.