digitalmars.D.announce - DMD v121 segfaults
class Mapped : Buffer { this() { } ~this() { } } class Buffer { private uint limit; private uint capacity; private uint position; invariant { assert (position <= limit); assert (limit <= capacity); } } Copy the above into foo.d, and compile it ~ segfaults in the previously noted place (during semantic3). If you remove the dtor, it does not segfault. If you remove the invariant, it does not segfault. A response post would be appreciated.
Apr 16 2005