D-Programming-Language/dmd — pull request #653 by yebblies (2012-01-29 06:24:46+00:00)
Title: Issue 6453 - Allow multiple invariant per struct/class

Build a linked list of invariants and insert a call to the next one at the end of the function.
Invariants are executed in lexical order.
Invariants are named basd on the line number to make stack traces more informative.

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