Skip to content

Commit c893377

Browse files
committed
Relax overspecified heuristic
1 parent c74e627 commit c893377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ llvm::Optional<std::string> SwiftLanguageRuntimeImpl::GetEnumCaseName(
12341234
// Temporary workaround.
12351235
if (eti->getEnumKind() == EnumKind::MultiPayloadEnum &&
12361236
type.GetMangledTypeName().GetStringRef().startswith(
1237-
"$s10Foundation9IndexPathV7Storage10"))
1237+
"$s10Foundation9IndexPathV7Storage"))
12381238
return GetMultiPayloadEnumCaseName(eti, data);
12391239

12401240
return {};

0 commit comments

Comments
 (0)