[REG2.064a] Issue 11300 - ICE with enums and circular module references

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