D-Programming-Language/dmd — pull request #1391 by AndrejMitrovic (2012-12-19 12:12:00+00:00)
Title: Issue 6057 - Nested enum declaration causes linker errors

http://d.puremagic.com/issues/show_bug.cgi?id=6057

It seems like a simple fix, but I'm no back-end expert.