D-Programming-Language/dmd — pull request #2099 by donc (2013-05-30 07:19:25+00:00)
Title: Fix bug 10211: CTFE: Allow cast S**->D**, if S*->D* is OK

Another fix required by my project to unify CTFE and optimize(WANTinterpret).

Up to now this has been accepted in const-folding but not in CTFE.