Skip to content

Commit da1254e

Browse files
committed
fix early exit condition
1 parent af7c46a commit da1254e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ SwiftLanguageRuntimeImpl::GetNumChildren(CompilerType type,
10801080
break;
10811081
}
10821082

1083-
if (tr)
1083+
if (!tr)
10841084
return {};
10851085

10861086
auto *reflection_ctx = GetReflectionContext();

0 commit comments

Comments
 (0)