aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/Z3Interface.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-04 21:11:43 +0800
committerGitHub <noreply@github.com>2017-10-04 21:11:43 +0800
commit66b188cce9a7f17c51b7a58c1296d574ad34fa61 (patch)
tree0327f70c9861519208c4dda673f9071b1eebfbae /libsolidity/formal/Z3Interface.cpp
parentf6fb7d96d3eb0d45ee93fbe25f01cb9f06b28b78 (diff)
parenta9847c955106dbf74d47d68122a634c787e0d00b (diff)
downloaddexon-solidity-66b188cce9a7f17c51b7a58c1296d574ad34fa61.tar.gz
dexon-solidity-66b188cce9a7f17c51b7a58c1296d574ad34fa61.tar.zst
dexon-solidity-66b188cce9a7f17c51b7a58c1296d574ad34fa61.zip
Merge pull request #3022 from ethereum/assert
Use solAssert and not assert
Diffstat (limited to 'libsolidity/formal/Z3Interface.cpp')
-rw-r--r--libsolidity/formal/Z3Interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/formal/Z3Interface.cpp b/libsolidity/formal/Z3Interface.cpp
index fbbd7a58..0ceed3a7 100644
--- a/libsolidity/formal/Z3Interface.cpp
+++ b/libsolidity/formal/Z3Interface.cpp
@@ -135,7 +135,7 @@ z3::expr Z3Interface::toZ3Expr(Expression const& _expr)
return m_context.int_val(n.c_str());
}
- assert(arity.count(n) && arity.at(n) == arguments.size());
+ solAssert(arity.count(n) && arity.at(n) == arguments.size(), "");
if (n == "ite")
return z3::ite(arguments[0], arguments[1], arguments[2]);
else if (n == "not")