[Issue 5038] Change class 'invariant' syntax to emulate 'unittest'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 10:01:18 PST 2013


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



--- Comment #3 from bearophile_hugs at eml.cc 2013-01-16 10:01:17 PST ---
(In reply to comment #2)
> The parentheses are necessary, because without them invariant is a deprecated
> alias for immutable.

Eventually that alternative meaning will go away, so invariant for
structs/class instances will be free to drop the useless ().

-- 
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