diff options
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/command.cpp | 4 | ||||
-rw-r--r-- | src/expr/type_node.cpp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/expr/command.cpp b/src/expr/command.cpp index 99662cb99..938f28635 100644 --- a/src/expr/command.cpp +++ b/src/expr/command.cpp @@ -790,9 +790,9 @@ void GetValueCommand::invoke(SmtEngine* smtEngine) throw() { smt::SmtScope scope(smtEngine); Node request = Node::fromExpr(options::expandDefinitions() ? smtEngine->expandDefinitions(*i) : *i); Node value = Node::fromExpr(smtEngine->getValue(*i)); - result.push_back(nm->mkNode(kind::TUPLE, request, value)); + result.push_back(nm->mkNode(kind::SEXPR, request, value)); } - Node n = nm->mkNode(kind::TUPLE, result); + Node n = nm->mkNode(kind::SEXPR, result); d_result = nm->toExpr(n); d_commandStatus = CommandSuccess::instance(); } catch(exception& e) { diff --git a/src/expr/type_node.cpp b/src/expr/type_node.cpp index 2676fd6b2..b681f70d4 100644 --- a/src/expr/type_node.cpp +++ b/src/expr/type_node.cpp @@ -246,6 +246,9 @@ TypeNode TypeNode::leastCommonTypeNode(TypeNode t0, TypeNode t1){ } case kind::FUNCTION_TYPE: return TypeNode(); // Not sure if this is right + case kind::SEXPR_TYPE: + Unimplemented("haven't implemented leastCommonType for symbolic expressions yet"); + return TypeNode(); // Not sure if this is right case kind::TUPLE_TYPE: Unimplemented("haven't implemented leastCommonType for tuples yet"); return TypeNode(); // Not sure if this is right |