Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r0qs committed Mar 17, 2023
1 parent 988802b commit 2f957ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/interface/CompilerStack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ void CompilerStack::annotateInternalFunctionIDs()
if (auto const* callable = get_if<CallableDeclaration const*>(&node))
if (auto const* function = dynamic_cast<FunctionDefinition const*>(*callable))
// Make sure the function already got an ID since it also occurs in the deploy-time internal dispatch.
solAssert(*function->annotation().internalFunctionID);
solAssert(function->annotation().internalFunctionID.set());
}
}
}
Expand Down

0 comments on commit 2f957ac

Please sign in to comment.