Skip to content

Commit df36fa0

Browse files
committed
remove TypeInfoKind::Enum assert
1 parent a9ded5d commit df36fa0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lldb/source/Target/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,6 @@ llvm::Optional<std::string> SwiftLanguageRuntimeImpl::GetEnumCaseName(
12561256
using namespace swift::reflection;
12571257
using namespace swift::remote;
12581258
auto *ti = GetTypeInfo(type, exe_ctx->GetFramePtr());
1259-
assert(ti->getKind() == TypeInfoKind::Enum && "Expected enum type");
12601259
if (ti->getKind() != TypeInfoKind::Enum)
12611260
return {};
12621261

0 commit comments

Comments
 (0)