Move check for experimental arrays features to `theory_arrays.cpp`. (#7391)
authorAbdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com>
Mon, 18 Oct 2021 22:50:04 +0000 (17:50 -0500)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 22:50:04 +0000 (17:50 -0500)
commit3609bd8a3ef60a0ed61927567f5321eb28365858
tree4d4627c00825957486a488dbd5fb1edb2ef78f90
parent0d08cdb26d105880c07191aa3eeb5a8f9fe467da
Move check for experimental arrays features to `theory_arrays.cpp`. (#7391)

Check for experimental array features was done at the parser module, which meant that users of the API could use them without calling Solver::setOption("arrays-exp"). This PR fixes that by moving the check to the internal theory module.
src/parser/smt2/smt2.cpp
src/theory/arrays/theory_arrays.cpp
test/regress/CMakeLists.txt
test/regress/regress0/eqrange0.smt2 [new file with mode: 0644]