[Issue 9519] constant bug in structures
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 16 11:57:44 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9519
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-16 11:57:41 PST ---
(In reply to comment #2)
> Works as expected with dmd 2.062 Beta 1.
Yeah, and this will no longer compile:
const ConstBug Test2 = ConstBug(0, 0);
What probably happened before is the ctor was never invoked but field
initialization was used instead. This is likely a dup report of another bug
which was fixed in 2.062.
--
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