Skip to content

Commit b09f866

Browse files
committed
Adjust naming to match reflection results
1 parent 662059b commit b09f866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6559,7 +6559,7 @@ GetExistentialTypeChild(swift::ASTContext *swift_ast_ctx, CompilerType type,
65596559
// The instance for an error existential.
65606560
if (idx == 0 && protocol_info.m_is_errortype) {
65616561
auto raw_pointer = swift_ast_ctx->TheRawPointerType;
6562-
return {ToCompilerType(raw_pointer.getPointer()), "error_instance"};
6562+
return {ToCompilerType(raw_pointer.getPointer()), "error"};
65636563
}
65646564

65656565
// The metatype for a non-class, non-error existential.

0 commit comments

Comments
 (0)