[Issue 519] Invariant not called from autogenerated constructor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 26 11:40:36 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=519
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |andrei at metalanguage.com
AssignedTo|nobody at puremagic.com |bugzilla at digitalmars.com
--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-11-26 11:39:12 PST ---
The example needs parens:
class Foo {
// this() {}
invariant {
assert (false);
}
}
void main() {
Foo foo = new Foo();
}
--
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