mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 05:11:21 +00:00
parent
a3c5207f91
commit
8a34bd2bf1
1 changed files with 2 additions and 4 deletions
|
@ -2043,10 +2043,8 @@ inline app * ast_manager::mk_app_core(func_decl * decl, expr * arg1, expr * arg2
|
||||||
}
|
}
|
||||||
|
|
||||||
app * ast_manager::mk_app(func_decl * decl, unsigned num_args, expr * const * args) {
|
app * ast_manager::mk_app(func_decl * decl, unsigned num_args, expr * const * args) {
|
||||||
if (decl->get_arity() != num_args &&
|
if (decl->get_arity() != num_args && !decl->is_right_associative() &&
|
||||||
!decl->is_right_associative() &&
|
!decl->is_left_associative() && !decl->is_chainable()) {
|
||||||
!decl->is_left_associative() &&
|
|
||||||
!decl->is_chainable()) {
|
|
||||||
std::ostringstream buffer;
|
std::ostringstream buffer;
|
||||||
buffer << "Wrong number of arguments (" << num_args
|
buffer << "Wrong number of arguments (" << num_args
|
||||||
<< ") passed to function " << mk_pp(decl, *this);
|
<< ") passed to function " << mk_pp(decl, *this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue