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

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |razvan.nitu1...@gmail.com
         Resolution|---                         |FIXED

--- Comment #11 from RazvanN <razvan.nitu1...@gmail.com> ---
I cannot reproduce the first incarnations of this bug [1][2]. As for the 3rd
provided test case [3], the sample is indeed invalid because the array of
classes needs to enclose the the init value of the structs in the array
elements, thus violating the @disable this() of struct S.

As such, this bug has been fixed.

[1] https://issues.dlang.org/show_bug.cgi?id=10186#c0
[2] https://issues.dlang.org/show_bug.cgi?id=10186#c3
[3] https://issues.dlang.org/show_bug.cgi?id=10186#c10

--

Reply via email to