Skip to content

Commit e31edb8

Browse files
Merge pull request #6719 from adrian-prantl/relax-verification
Relax verification
2 parents f097595 + b2db852 commit e31edb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,6 +3092,8 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
30923092
assert(Equivalent(child_bitfield_bit_size, ast_child_bitfield_bit_size));
30933093
assert(Equivalent(child_is_base_class, ast_child_is_base_class));
30943094
assert(Equivalent(child_is_deref_of_parent, ast_child_is_deref_of_parent));
3095+
// There are cases where only the runtime correctly detects an indirect enum.
3096+
ast_language_flags |= language_flags & LanguageFlags::eIsIndirectEnumCase;
30953097
assert(Equivalent(language_flags, ast_language_flags));
30963098
});
30973099
#endif

0 commit comments

Comments
 (0)