D-Programming-Language/dmd — pull request #1351 by donc (2012-12-06 07:52:02+00:00)
Title: 7790 CTFE wrong code for AA foreach ref

1. IndexExp: Stop copying the AA whenever it is indexed (This was horrific for
performance, as well as being wrong).
2. aaApply: If the value is 'ref', create a reference to the value (using an IndexExp).