May 18, 2020 [Issue 20842] Structs with disabled default/copy ctors can't be initialized | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20842 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @pbackus created dlang/dmd pull request #11159 "Fix Issue 20842 - Structs with disabled default/copy ctors can't be i…" fixing this issue: - Fix Issue 20842 - Structs with disabled default/copy ctors can't be initialized A struct must now have at least one non-@disabled constructor to be ineligible for brace initialization. https://github.com/dlang/dmd/pull/11159 -- | ||||
May 20, 2020 [Issue 20842] Structs with disabled default/copy ctors can't be initialized | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20842 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@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-@disabled constructor to be ineligible for brace initialization. https://github.com/dlang/dmd/pull/11159 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply