diff --git a/libyul/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp index 531fd1b92..ce5578274 100644 --- a/libyul/backends/evm/EVMCodeTransform.cpp +++ b/libyul/backends/evm/EVMCodeTransform.cpp @@ -26,6 +26,7 @@ #include #include +#include #include @@ -785,7 +786,8 @@ size_t CodeTransform::variableHeightDiff(Scope::Variable const& _var, YulString _varName.str() + " is " + to_string(heightDiff - limit) + - " slot(s) too deep inside the stack." + " slot(s) too deep inside the stack. " + + stackTooDeepString ); m_assembly.markAsInvalid(); return _forSwap ? 2 : 1;