Skip to content

Commit 88cda4f

Browse files
authored
Merge pull request #2151 from wilzbach/comma-exp
End the deprecation period of using the result of a comma expression merged-on-behalf-of: H. S. Teoh <quickfur@users.noreply.github.com>
2 parents 3574c85 + e3aa31b commit 88cda4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deprecate.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $(SPEC_S Deprecated Features,
1414
$(TROW $(DEPLINK Class allocators and deallocators), future, &nbsp;, &nbsp;, &nbsp;)
1515
$(TROW $(DEPLINK Implicit comparison of different enums), 2.075, 2.075, &nbsp;, &nbsp;)
1616
$(TROW $(DEPLINK Implicit string concatenation), 2.072, 2.072, &nbsp;, &nbsp;)
17-
$(TROW $(DEPLINK Using the result of a comma expression), 2.072, 2.072, &nbsp;, &nbsp;)
17+
$(TROW $(DEPLINK Using the result of a comma expression), 2.072, 2.072, 2.079, &nbsp;)
1818
$(TROW $(DEPLINK delete), future, &nbsp;, &nbsp;, &nbsp;)
1919
$(TROW $(DEPLINK scope for allocating classes on the stack), future, &nbsp;, &nbsp;, &nbsp;)
2020
$(TROW $(DEPLINK Imaginary and complex types), future, &nbsp;, &nbsp;, &nbsp;)

spec/expression.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ $(GNAME CommaExpression):
4444

4545
$(P The left operand of the $(D ,) is evaluated, then the right operand
4646
is evaluated. The type of the expression is the type of the right
47-
operand, and the result is the result of the right operand. Using
48-
the result is deprecated.
47+
operand, and the result is the result of the right operand.
48+
Using the result of comma expressions isn't allowed.
4949
)
5050

5151
$(H2 $(LNAME2 assign_expressions, Assign Expressions))

0 commit comments

Comments
 (0)