Skip to content

Commit

Permalink
make error message more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Sep 11, 2022
1 parent 6df7112 commit 3900c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/array_decl_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ bool array_decl_plugin::is_array_sort(sort* s) const {

func_decl * array_decl_plugin::mk_const(sort * s, unsigned arity, sort * const * domain) {
if (arity != 1) {
m_manager->raise_exception("invalid const array definition, invalid domain size");
m_manager->raise_exception("invalid const array definition, expected one argument");
return nullptr;
}
if (!is_array_sort(s)) {
Expand Down

0 comments on commit 3900c03

Please sign in to comment.