Sol -> Yul Generation: Implicit conversions

This commit is contained in:
Mathias Baumann
2019-04-24 22:52:17 +02:00
committed by chriseth
parent 6292adbde6
commit 944ac6fb6d
5 changed files with 76 additions and 16 deletions
@@ -53,6 +53,10 @@ public:
bool visit(Literal const& _literal) override;
private:
/// @returns a Yul expression representing the current value of @a _expression,
/// converted to type @a _to if it does not yet have that type.
std::string expressionAsType(Expression const& _expression, Type const& _to);
std::ostringstream m_code;
IRGenerationContext& m_context;
YulUtilFunctions& m_utils;