[Issue 9665] Structure constant members can not be initialized if have opAssign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 14 20:51:22 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9665



--- Comment #25 from github-bugzilla at puremagic.com 2013-10-14 20:51:16 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f8386c7eeb2518779e42e753507538188c1e3be5
fix Issue 9665 - Structure constant members can not be initialized if have
opAssign

- Change the first field assignment inside constructor to true initialization.
- Disable multiple initialization of non-mutable field, if it is once
initialized.

https://github.com/D-Programming-Language/dmd/commit/84ee9522f470cdb90031c4a8542c32e753d1462c
Merge pull request #2665 from 9rnsr/fix9665

Issue 9665 - Structure constant members can not be initialized if have opAssign

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list