summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2012-12-01 16:41:09 +0000
committerClark Barrett <barrett@cs.nyu.edu>2012-12-01 16:41:09 +0000
commitca3c6c4842f122641c4bb5096e6c9249db2ff12b (patch)
tree0352049d649922a64dddca8333ec01fad8c3f50c /src
parente820acb9e220389e9a7e23bcffd97f1d0354f612 (diff)
Throw a logic exception if user makes an assertion using a STORE_ALL
Diffstat (limited to 'src')
-rw-r--r--src/theory/arrays/theory_arrays.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index f4661c389..a05d30517 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -24,6 +24,7 @@
#include "theory/arrays/theory_arrays_model.h"
#include "theory/model.h"
#include "theory/arrays/options.h"
+#include "smt/logic_exception.h"
using namespace std;
@@ -456,6 +457,9 @@ void TheoryArrays::preRegisterTermInternal(TNode node)
checkStore(node);
break;
}
+ case kind::STORE_ALL: {
+ throw LogicException("Array theory solver does not yet support assertions using constant array value");
+ }
default:
// Variables etc
if (node.getType().isArray()) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback