Skip to content

TEMP. just checking if git mv produces right result #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion lib/Sema/TypeCheckGeneric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ Type DependentGenericTypeResolver::resolveDependentMemberType(
DeclContext *DC,
SourceRange baseRange,
ComponentIdentTypeRepr *ref) {
return Builder.resolveArchetype(baseTy)->getRepresentative()
auto archetype = Builder.resolveArchetype(baseTy);
if (!archetype)
return ErrorType::get(DC->getASTContext());

return archetype->getRepresentative()
->getNestedType(ref->getIdentifier(), Builder)
->getDependentType(Builder, true);
}
Expand Down
Loading