D-Programming-Language/dmd — pull request #1333 by donc (2012-11-28 12:07:23+00:00)
Title: Don't do inlining during the semantic3 pass

Inlining happens after semantic, except in these special cases. They cause problems for CTFE.
The reason why they were done so early is unknown.

(Barely tested, I'm relying on the autotester).