Skip to content

Commit 8349ee0

Browse files
Add support for const array in all logics as per issue #7383
1 parent 4896edf commit 8349ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast/array_decl_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,9 @@ void array_decl_plugin::get_sort_names(svector<builtin_name>& sort_names, symbol
577577
void array_decl_plugin::get_op_names(svector<builtin_name>& op_names, symbol const & logic) {
578578
op_names.push_back(builtin_name("store",OP_STORE));
579579
op_names.push_back(builtin_name("select",OP_SELECT));
580+
op_names.push_back(builtin_name("const",OP_CONST_ARRAY)); // github issue #7383
580581
if (logic == symbol::null || logic == symbol("HORN") || logic == symbol("ALL")) {
581582
// none of the SMT2 logics support these extensions
582-
op_names.push_back(builtin_name("const",OP_CONST_ARRAY));
583583
op_names.push_back(builtin_name("map",OP_ARRAY_MAP));
584584
op_names.push_back(builtin_name("default",OP_ARRAY_DEFAULT));
585585
op_names.push_back(builtin_name("union",OP_SET_UNION));

0 commit comments

Comments
 (0)