semantic: Handle declTypeLookup for EnumDeclarations.