D-Programming-Language/dmd — pull request #1594 by 9rnsr (2013-02-02 06:53:36+00:00)
Title: Issue 9436 - enum cannot be forward referenced with cyclic imports and mixin

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

If `EnumDeclaration::isdone != 0`, `setScope` should do nothing.