[API] Remove redundant version of `mkFunctionSort` (#8503)
authorAndres Noetzli <andres.noetzli@gmail.com>
Fri, 1 Apr 2022 04:50:25 +0000 (21:50 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 04:50:25 +0000 (04:50 +0000)
commit01061af730c2805c8c1d4a7cc2a03dee6ffc0017
tree0bc45fd5c8b4dcddebddcb50385279a801c04c83
parent469de059de55ad61b4f8601d4da6020ed42e368d
[API] Remove redundant version of `mkFunctionSort` (#8503)

mkFunctionSort that takes two sorts as arguments is redundant, because
the first argument is equivalent to a vector of size one passed to the
other overload of mkFunctionSort. This commit removes the method from
the C++ API but keeps the existing semantics for the Java and Python
bindings for convenience and consistency with, e.g. mkTerm.
14 files changed:
examples/api/cpp/combination.cpp
examples/simple_vc_quant_cxx.cpp
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/java/io/github/cvc5/Solver.java
src/api/java/jni/solver.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/parser/tptp/tptp.cpp
test/unit/api/cpp/solver_black.cpp
test/unit/api/cpp/sort_black.cpp
test/unit/api/cpp/term_black.cpp
test/unit/api/cpp/term_white.cpp
test/unit/parser/parser_black.cpp