https://issues.dlang.org/show_bug.cgi?id=23420

Paul Backus <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Severity|normal                      |enhancement

--- Comment #2 from Paul Backus <[email protected]> ---
Reduced example:

---
void main()
{
    int[1] sa;
    int[] da = [0];
    sa = da; // equivalent: sa[] = da[]
    da = sa; // equivalent: da = sa[]
}
---

The assignments are allowed because of implicit slicing, so this is a subset of
issue 15932.

--

Reply via email to