Improved error message.

This commit is contained in:
chriseth 2017-06-01 15:31:07 +02:00
parent 05004253ba
commit 40f3e4413b

View File

@ -345,7 +345,7 @@ bool AsmAnalyzer::expectExpression(Statement const& _statement)
{ {
m_errorReporter.typeError( m_errorReporter.typeError(
locationOf(_statement), 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) + boost::lexical_cast<string>(m_stackHeight - initialHeight) +
" items." " items."
); );