https://issues.dlang.org/show_bug.cgi?id=3578
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
-Language/d-programming-language.org/commit/8ed7c3ded95c50a4dc297a272fa53c0deb18e68e
fix Issue 3578 - Impossible to run a struct invariant using assert(s)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
/8ed7c3ded95c50a4dc297a272fa53c0deb18e68e
fix Issue 3578 - Impossible to run a struct invariant using assert(s)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=3578
--- Comment #3 from Leandro Lucarella 2010-10-16 16:06:59
PDT ---
(In reply to comment #2)
> It's undocumented, but struct invariants are fired on pointers:
>
> struct S
> {
> invariant() { assert(0); } // (3)
> }
> v
http://d.puremagic.com/issues/show_bug.cgi?id=3578
Shin Fujishiro changed:
What|Removed |Added
CC||rsi...@gmail.com
--- Comment #2 from
http://d.puremagic.com/issues/show_bug.cgi?id=3578
Leandro Lucarella changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment