Bug 446711 - Name resolution problem with dependent enumeration

Handling of internal enumerator types during instantiation of an
enumeration.