mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Fix SMT name for function identifiers
This commit is contained in:
1 parent
973e4ca90a
commit
83ef34f41d
1 file changed
+2
-2
@@ -621,8 +621,8 @@ void SMTEncoder::visitFunctionIdentifier(Identifier const& _identifier)
|
||||
auto const& fType = dynamic_cast<FunctionType const&>(*_identifier.annotation().type);
|
||||
if (fType.returnParameterTypes().size() == 1)
|
||||
{
|
||||
defineGlobalVariable(fType.richIdentifier(), _identifier);
|
||||
m_context.createExpression(_identifier, m_context.globalSymbol(fType.richIdentifier()));
|
||||
defineGlobalVariable(fType.identifier(), _identifier);
|
||||
m_context.createExpression(_identifier, m_context.globalSymbol(fType.identifier()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user