Re: Proposed additional commentary for array-assign!
Bradley Lucier 20 Nov 2026 22:39 UTC
It turns out I was quite confused about array-assign!; the sentence
=============================
If assigning any element of destination affects the value of any element
of source, then the result is undefined.
=============================
is sufficient to cover the case that concerned me.
The background is that in the sample implementation the u1-storage-class
does not have a copier; when I set out to write one, I realized that it
would give results different to the current code when the source and
destinations are both packed but have overlapping ranges. I did not
expect this consequence.
But that's OK. The spec says that the result is undefined in this case.
Sorry for the noise.
Brad