We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f097595 + b2db852 commit e31edb8Copy full SHA for e31edb8
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
@@ -3092,6 +3092,8 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
3092
assert(Equivalent(child_bitfield_bit_size, ast_child_bitfield_bit_size));
3093
assert(Equivalent(child_is_base_class, ast_child_is_base_class));
3094
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;
3097
assert(Equivalent(language_flags, ast_language_flags));
3098
});
3099
#endif
0 commit comments