D-Programming-Language/dmd — pull request #552 by 9rnsr (2011-12-09 23:41:26+00:00)
Title: Fix headinout conversion

This change fixes 6912 with the correct way.
I've also added exhaustive tests.

And, I've added pointer type fix that not mentioned by issue 6912 report.
Dynamic array type, associative array type, and pointer type are the three reference type that should consider transitive modifier in D.
We can check this "head inout conversion" issue with the same way.