mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Allow type witness resolution for unqualified lookups.
Fixes rdar://problem/21512599. Swift SVN r29894
This commit is contained in:
@@ -2202,6 +2202,7 @@ namespace {
|
||||
// Resolve the reference to this type declaration in our
|
||||
// current context.
|
||||
auto type = cs.getTypeChecker().resolveTypeInContext(typeDecl, dc,
|
||||
TR_InExpression,
|
||||
isSpecialized);
|
||||
if (!type)
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user