fix issue 10612 - ICE on using enum as hash key with mutual module
imports
Merge pull request #2336 from hpohl/10612

[REG2.064a] fix issue 10612 - ICE on using enum as hash key with mutual module imports