Fix ICE related to receive function having parameters.

This commit is contained in:
hrkrshnn
2021-06-03 13:08:57 +02:00
parent 9be57546db
commit c3eef8af91
14 changed files with 73 additions and 35 deletions
@@ -63,6 +63,7 @@ private:
/// arguments and that there is at most one constructor.
void checkDuplicateFunctions(ContractDefinition const& _contract);
void checkDuplicateEvents(ContractDefinition const& _contract);
void checkReceiveFunction(ContractDefinition const& _contract);
template <class T>
void findDuplicateDefinitions(std::map<std::string, std::vector<T>> const& _definitions);
/// Checks for unimplemented functions and modifiers.