mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix call graph with respect to constants.
This commit is contained in:
@@ -66,7 +66,7 @@ void verifyCallGraph(
|
||||
{
|
||||
solAssert(
|
||||
_generatedFunctions.count(expectedFunction) == 1 || expectedFunction->isConstructor(),
|
||||
"No code generated for function " + expectedFunction->name() + "even though it is not a constructor."
|
||||
"No code generated for function " + expectedFunction->name() + " even though it is not a constructor."
|
||||
);
|
||||
_generatedFunctions.erase(expectedFunction);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user