diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index 62c3fab62aebb..e09c760ad6504 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -613,7 +613,7 @@ class SwiftAllPayloadEnumDescriptor : public SwiftEnumDescriptor { swift::EnumElementDecl *case_decl = enum_case.decl; assert(case_decl); - auto arg_type = case_decl->getArgumentInterfaceType(); + auto arg_type = case_decl->getPayloadInterfaceType(); CompilerType case_type; if (arg_type) { case_type = ToCompilerType(