This actually happened. I used my own project's test suite to thoroughly exercise my patch and uncovered a few bugs with my initial implementation. Now that I think of it, I should have written a test case for the compiler every time I encountered buggy behaviour uncovered by the other project.

I can at least add a test case for the above mentioned problem and any others I can remember.