D-Programming-Language/dmd — pull request #638 by donc (2012-01-25 06:27:18+00:00)
Title: 7117 Regression(2.057, 1.072): out contract for class member functions are broken

This is a quick fix for a bug which is a blocker for us.
This reverts the bad commit (attempt to fix bug 6859) which caused the regression, but does it in a way that the test case for 6859 still passes.
There's still something badly wrong with out contracts, and this doesn't fix that.