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 4e2bbe2 commit 41ab113Copy full SHA for 41ab113
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
@@ -2264,7 +2264,8 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
2264
// Because the API deals out an index into a list of children we
2265
// can't mix&match between the two typesystems if there is such a
2266
// divergence. We'll need to replace all calls at once.
2267
- if (m_swift_ast_context->GetNumFields(ReconstructType(type)) <
+ if (m_swift_ast_context->GetNumChildren(ReconstructType(type),
2268
+ omit_empty_base_classes, exe_ctx) <
2269
runtime->GetNumChildren({this, type}, valobj).getValueOr(0))
2270
return fallback();
2271
0 commit comments