D-Programming-Language/dmd — pull request #643 by donc (2012-01-26 22:35:03+00:00)
Title: CTFE regression 7197 enum string doesn't work with CTFE

7197 enum string doesn't work with CTFE

This wasn't actually a bug in CTFE at all, it was caused by some erroneous code in the const folding for comma expressions. The new asserts and error checking in CTFE have detected it, but it's been incorrect for a long time.
I originally introduced that CommaExp code while fixing bug 3535, it was a workaround for another problem which has since been fixed.