mirror of
https://github.com/SymboScript/Book.git
synced 2024-11-05 21:33:59 +03:00
fix await operator priority
This commit is contained in:
parent
6d8f10b23f
commit
a79783cf1d
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
| -------------------------------------- | ------------- | -------------- | ---- |
|
||||
| Method calls, Members | Left to Right | call | ✅ |
|
||||
| Function calls | Left to Right | call | ✅ |
|
||||
| await | Right to Left | call | ✅ |
|
||||
| `!` `++` `--` `()` `~` | Left to Right | factor | ✅ |
|
||||
| `^` | Left to Left | power | ✅ |
|
||||
| `*` `/` `%` | Left to Right | term | ✅ |
|
||||
|
@ -22,5 +23,5 @@
|
|||
| `..` | Left to Right | range | ✅ |
|
||||
| `?:` | Right to Left | ternary | ✅ |
|
||||
| `=` `:=` `+=` `-=` `*=` `/=` `^=` `%=` | Right to Left | assign | ✅ |
|
||||
| await yield | Right to Left | await_yield | ✅ |
|
||||
| yield | Right to Left | await_yield | ✅ |
|
||||
| `,` | None | comma | ✅ |
|
||||
|
|
Loading…
Reference in a new issue