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 afebaf8 commit 2b7ff7dCopy full SHA for 2b7ff7d
src/solvers/smt2/smt2_conv.cpp
@@ -944,6 +944,10 @@ std::string smt2_convt::type2id(const typet &type) const
944
else
945
return "S" + std::to_string(boolbv_width(type));
946
}
947
+ else if(type.id() == ID_union_tag)
948
+ {
949
+ return "U" + std::to_string(boolbv_width(type));
950
+ }
951
else if(type.id() == ID_array)
952
{
953
return "A" + type2id(to_array_type(type).element_type());
0 commit comments