We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c4e0c commit c47308bCopy full SHA for c47308b
libsolidity/formal/SMTEncoder.cpp
@@ -1297,7 +1297,7 @@ void SMTEncoder::endVisit(Literal const& _literal)
1297
if (smt::isNumber(type))
1298
defineExpr(_literal, smtutil::Expression(type.literalValue(&_literal)));
1299
else if (smt::isBool(type))
1300
- defineExpr(_literal, smtutil::Expression(_literal.token() == Token::TrueLiteral ? true : false));
+ defineExpr(_literal, smtutil::Expression(_literal.token() == Token::TrueLiteral));
1301
else if (smt::isStringLiteral(type))
1302
{
1303
createExpr(_literal);
0 commit comments