Skip to content

Commit 60b2b03

Browse files
authored
Merge pull request ethereum#15335 from lmanini/patch-2
Typo in ContractCompiler.cpp
2 parents fc0fb95 + 363274d commit 60b2b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/codegen/ContractCompiler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ bool ContractCompiler::visit(PlaceholderStatement const& _placeholderStatement)
13961396
{
13971397
StackHeightChecker checker(m_context);
13981398
CompilerContext::LocationSetter locationSetter(m_context, _placeholderStatement);
1399-
solAssert(m_context.arithmetic() == Arithmetic::Checked, "Placeholder cannot be used inside checked block.");
1399+
solAssert(m_context.arithmetic() == Arithmetic::Checked, "Placeholder cannot be used inside unchecked block.");
14001400
appendModifierOrFunctionCode();
14011401
solAssert(m_context.arithmetic() == Arithmetic::Checked, "Arithmetic not reset to 'checked'.");
14021402
checker.check();

0 commit comments

Comments
 (0)