We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc0fb95 + 363274d commit 60b2b03Copy full SHA for 60b2b03
libsolidity/codegen/ContractCompiler.cpp
@@ -1396,7 +1396,7 @@ bool ContractCompiler::visit(PlaceholderStatement const& _placeholderStatement)
1396
{
1397
StackHeightChecker checker(m_context);
1398
CompilerContext::LocationSetter locationSetter(m_context, _placeholderStatement);
1399
- solAssert(m_context.arithmetic() == Arithmetic::Checked, "Placeholder cannot be used inside checked block.");
+ solAssert(m_context.arithmetic() == Arithmetic::Checked, "Placeholder cannot be used inside unchecked block.");
1400
appendModifierOrFunctionCode();
1401
solAssert(m_context.arithmetic() == Arithmetic::Checked, "Arithmetic not reset to 'checked'.");
1402
checker.check();
0 commit comments