[Issue 10326] Disallow 'invariant' for immutable, allow class/struct invariants without (), and later disallow usage of ()

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 17 05:17:26 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=10326

--- Comment #13 from bearophile_hugs at eml.cc ---
(In reply to Kenji Hara from comment #9)

> Instead of that, how about to accept both invariant(){...}  and
> unittest(){...} ?

I prefer to disallow () in both.

--


More information about the Digitalmars-d-bugs mailing list