We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a27ea commit 2357893Copy full SHA for 2357893
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
@@ -2261,7 +2261,8 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
2261
// Because the API deals out an index into a list of children we
2262
// can't mix&match between the two typesystems if there is such a
2263
// divergence. We'll need to replace all calls at once.
2264
- if (m_swift_ast_context->GetNumFields(ReconstructType(type)) <
+ if (m_swift_ast_context->GetNumChildren(ReconstructType(type),
2265
+ omit_empty_base_classes, exe_ctx) <
2266
runtime->GetNumChildren({this, type}, valobj).getValueOr(0))
2267
return fallback();
2268
0 commit comments