mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Fix in abi handling - fixed missing type conversion
This commit is contained in:
@@ -773,7 +773,7 @@ void SMTEncoder::visitABIFunction(FunctionCall const& _funCall)
|
|||||||
|
|
||||||
optional<smtutil::Expression> arg;
|
optional<smtutil::Expression> arg;
|
||||||
if (inTypes.size() == 1)
|
if (inTypes.size() == 1)
|
||||||
arg = expr(*args.at(0));
|
arg = expr(*args.at(0), inTypes.at(0));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto inputSort = dynamic_cast<smtutil::ArraySort&>(*symbFunction.sort).domain;
|
auto inputSort = dynamic_cast<smtutil::ArraySort&>(*symbFunction.sort).domain;
|
||||||
|
|||||||
Reference in New Issue
Block a user