diff options
author | chriseth <chris@ethereum.org> | 2017-06-01 21:31:07 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-01 21:31:07 +0800 |
commit | 40f3e4413b7eb36d32ab314dc1d854d8428116e6 (patch) | |
tree | 3272f92771aee14b69bc0f87e6c500808827e38e /libsolidity | |
parent | 05004253ba9f7bf5a3d71d8ed590367619ebbe4f (diff) | |
download | dexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.tar.gz dexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.tar.zst dexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.zip |
Improved error message.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp index 8ed59bc9..8fa72d7e 100644 --- a/libsolidity/inlineasm/AsmAnalysis.cpp +++ b/libsolidity/inlineasm/AsmAnalysis.cpp @@ -345,7 +345,7 @@ bool AsmAnalyzer::expectExpression(Statement const& _statement) { m_errorReporter.typeError( locationOf(_statement), - "Expected instruction(s) to deposit one item to the stack but did deposit " + + "Expected expression to return one item to the stack but did return " + boost::lexical_cast<string>(m_stackHeight - initialHeight) + " items." ); |