Skip to content

Commit 96fa5f4

Browse files
authored
Remove inappropriate 'existing behaviour' reference; simplify
1 parent fe4dd55 commit 96fa5f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spec/expression.dd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,8 @@ $(GNAME ConditionalExpression):
167167

168168
$(P $(B Note:)
169169
When a conditional expression is the left operand of
170-
an $(RELATIVE_LINK2 assign_expressions, assign expression), they would be
171-
parsed as an assignment to $(I the result) of the conditional. This
172-
has now been deprecated. To preserve the existing behaviour, add
173-
parentheses for the conditional without including the assignment:
170+
an $(RELATIVE_LINK2 assign_expressions, assign expression),
171+
parentheses are required for disambiguation:
174172
)
175173
---
176174
bool test;

0 commit comments

Comments
 (0)