Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Assignment expressions are *NOT* LTR evaluated.
This commit does not try to define their evaluation order, they just
removed them from the list of shared LTR evaluated expressions.
  • Loading branch information
Havvy committed Jan 14, 2021
commit 9360ab990a253174bedff15a3191d5657b04ec31
13 changes: 9 additions & 4 deletions src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ The following list of expressions all evaluate their operands the same way, as
described after the list. Other expressions either don't take operands or
evaluate them conditionally as described on their respective pages.

* Operator expressions (except the Lazy boolean operators)
* Dereference expression
* Error propagation expression
* Negation expression
* Arithmetic and logical binary operators
* Comparison operators
* Type cast expression
* Grouped expression
* Array expression
* Await expression
Expand Down Expand Up @@ -127,9 +132,9 @@ assert_eq!(
);
```

> **Note**: Since this is applied recursively, expressions are also evaluated
> from innermost to outermost, ignoring siblings until there are no inner
> subexpressions.
> **Note**: Since this is applied recursively, these expressions are also
> evaluated from innermost to outermost, ignoring siblings until there are no
> inner subexpressions.

## Place Expressions and Value Expressions

Expand Down