Use bool type in conditional simplifier and for loop condition into body.

This commit is contained in:
chriseth
2020-02-24 15:05:19 +01:00
parent a52c9af5b9
commit a52305d3bd
9 changed files with 47 additions and 16 deletions
@@ -56,9 +56,9 @@ void ForLoopConditionIntoBody::operator()(ForLoop& _forLoop)
_forLoop.condition = make_unique<Expression>(
Literal {
loc,
LiteralKind::Number,
"1"_yulstring,
{}
LiteralKind::Boolean,
"true"_yulstring,
m_dialect.boolType
}
);
}