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.
1 parent 50bfa4e commit 699331bCopy full SHA for 699331b
src/solvers/flattening/boolbv_member.cpp
@@ -18,8 +18,11 @@ static bvt convert_member_union(
18
const namespacet &ns)
19
{
20
const exprt &union_op = expr.compound();
21
+
22
const union_typet &union_op_type =
- ns.follow_tag(to_union_tag_type(union_op.type()));
23
+ union_op.type().id() == ID_union_tag
24
+ ? ns.follow_tag(to_union_tag_type(union_op.type()))
25
+ : to_union_type(union_op.type());
26
27
const irep_idt &component_name = expr.get_component_name();
28
const union_typet::componentt &component =
0 commit comments