Commit d68dfa1
committed
Editorial: Use 'list-concatenation' more
Specifically, use it in `Runtime Semantics: LabelledEvaluation`.
It's unusual to modify the value of an SDO parameter.
Certainly, other SDOs with a _labelSet_ parameter
are careful to copy it before appending anything.
(ContainsDuplicateLabels, ContainsUndefinedBreakTarget, ContainsUndefinedContinueTarget)
I'm pretty sure that the modification here doesn't matter
(because in the few places that LabelledEvaluation is invoked,
nothing is done with the _labelSet_ arg afterward).
But it's easier to understand (and more consistent)
if we leave _labelSet_ unmodified.
So I've used list-concatenation.1 parent 2e118ff commit d68dfa1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19663 | 19663 | | |
19664 | 19664 | | |
19665 | 19665 | | |
19666 | | - | |
19667 | | - | |
| 19666 | + | |
| 19667 | + | |
19668 | 19668 | | |
19669 | 19669 | | |
19670 | 19670 | | |
| |||
0 commit comments