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 6c8d919 commit e61f443Copy full SHA for e61f443
src/solvers/smt2/smt2_conv.cpp
@@ -918,6 +918,15 @@ void smt2_convt::convert_expr(const exprt &expr)
918
{
919
convert_constant(to_constant_expr(expr));
920
}
921
+ else if(expr.id() == ID_concatenation && expr.operands().size() == 1)
922
+ {
923
+ DATA_INVARIANT_WITH_DIAGNOSTICS(
924
+ expr.type() == expr.operands().front().type(),
925
+ "concatenation over a single operand should have matching types",
926
+ expr.pretty());
927
+
928
+ convert_expr(expr.operands().front());
929
+ }
930
else if(expr.id()==ID_concatenation ||
931
expr.id()==ID_bitand ||
932
expr.id()==ID_bitor ||
0 commit comments