[Issue 20842] Structs with disabled default/copy ctors can't be initialized

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 20 00:27:16 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11159 "Fix Issue 20842 - Structs with disabled
default/copy ctors can't be i…" was merged into master:

- a42031736ce1f6294da682bac54082abf7e24401 by Paul Backus:
  Fix Issue 20842 - Structs with disabled default/copy ctors can't be
initialized

  A struct must now have at least one non- at disabled constructor to be
  ineligible for brace initialization.

https://github.com/dlang/dmd/pull/11159

--


More information about the Digitalmars-d-bugs mailing list