diff --git a/deprecate.dd b/deprecate.dd index f4982b594f..cbf8ebcf88 100644 --- a/deprecate.dd +++ b/deprecate.dd @@ -14,7 +14,7 @@ $(SPEC_S Deprecated Features, $(TROW $(DEPLINK Class allocators and deallocators), future,  ,  ,  ) $(TROW $(DEPLINK Implicit comparison of different enums), 2.075, 2.075,  ,  ) $(TROW $(DEPLINK Implicit string concatenation), 2.072, 2.072,  ,  ) - $(TROW $(DEPLINK Using the result of a comma expression), 2.072, 2.072,  ,  ) + $(TROW $(DEPLINK Using the result of a comma expression), 2.072, 2.072, 2.079,  ) $(TROW $(DEPLINK delete), future,  ,  ,  ) $(TROW $(DEPLINK scope for allocating classes on the stack), future,  ,  ,  ) $(TROW $(DEPLINK Imaginary and complex types), future,  ,  ,  ) diff --git a/spec/expression.dd b/spec/expression.dd index cb591633b8..e68186dcba 100644 --- a/spec/expression.dd +++ b/spec/expression.dd @@ -44,8 +44,8 @@ $(GNAME CommaExpression): $(P The left operand of the $(D ,) is evaluated, then the right operand is evaluated. The type of the expression is the type of the right - operand, and the result is the result of the right operand. Using - the result is deprecated. + operand, and the result is the result of the right operand. + Using the result of comma expressions isn't allowed. ) $(H2 $(LNAME2 assign_expressions, Assign Expressions))