Skip to content

Commit c48ce47

Browse files
committed
Fix "Add direct access for import-as-member types" for the 4.0 branch.
1 parent 58d7868 commit c48ce47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ ClangModuleUnit::lookupNestedType(Identifier name,
24612461
// FIXME: This is very similar to what's in Implementation::lookupValue and
24622462
// Implementation::loadAllMembers.
24632463
SmallVector<TypeDecl *, 2> results;
2464-
for (auto entry : lookupTable->lookup(SerializedSwiftName(name.str()),
2464+
for (auto entry : lookupTable->lookup(name.str(),
24652465
baseTypeContext)) {
24662466
// If the entry is not visible, skip it.
24672467
if (!isVisibleClangEntry(clangCtx, entry)) continue;

0 commit comments

Comments
 (0)