mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improved error message.
This commit is contained in:
parent
05004253ba
commit
40f3e4413b
@ -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."
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user