diff --git a/spec/expression.dd b/spec/expression.dd index 6d29ce05d5..2502a0f6c7 100644 --- a/spec/expression.dd +++ b/spec/expression.dd @@ -75,6 +75,8 @@ subexpression `h()` has no smallest short-circuit expression. $(H2 $(LNAME2 order-of-evaluation, Order Of Evaluation)) +$(P Operands are evaluated before operators are executed. Arguments are evaluated before functions are called.) + $(P Built-in prefix unary expressions `++` and `--` are evaluated as if lowered (rewritten) to assignments as follows: `++expr` becomes `((expr) += 1)`, and `--expr` becomes `((expr) -= 1)`. Therefore, the result of prefix `++` and `--` is the lvalue after the side effect has been