mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Add a DeclContext field to ComponentIdentTypeRepr
Plumb this through and set it appropriately, but don't use it for anything yet.
This commit is contained in:
@@ -859,7 +859,7 @@ ConstraintSystem::getTypeOfReference(ValueDecl *value,
|
||||
// Unqualified reference to a type.
|
||||
if (auto typeDecl = dyn_cast<TypeDecl>(value)) {
|
||||
// Resolve the reference to this type declaration in our current context.
|
||||
auto type = TC.resolveTypeInContext(typeDecl, DC,
|
||||
auto type = TC.resolveTypeInContext(typeDecl, nullptr, DC,
|
||||
TR_InExpression,
|
||||
/*isSpecialized=*/false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user