[Issue 9372] Class member with @disabled ctor makes class ctor unusable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 23 08:14:48 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9372
--- Comment #5 from hsteoh at quickfur.ath.cx 2013-01-23 08:14:47 PST ---
It should be illegal to reference an uninitialized variable in the ctor.
Something similar to how immutable fields are handled can be applied here:
you're not allowed to read the value of an immutable field until it's
initialized, and it can only be written to once.
--
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