[Issue 1619] "Missing initializer for const field" only reported if an explicit constructor is present
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 23 11:08:04 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=1619
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-23 11:08:02 PST ---
I don't know whether this is a valid report. The same behavior is in D2, afaik
the field will be initialized with .init, whereas if you introduce a
constructor the compiler expects you to initialize it yourself.
Can anyone with more insight confirm?
--
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