mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Check for recursive structs.
This commit is contained in:
committed by
Alex Beregszaszi
parent
2e72bd163a
commit
59ea19b3b9
@@ -758,6 +758,10 @@ public:
|
||||
/// @returns the set of all members that are removed in the memory version (typically mappings).
|
||||
std::set<std::string> membersMissingInMemory() const;
|
||||
|
||||
/// @returns true if the same struct is used recursively in one of its members. Only
|
||||
/// analyses the "memory" representation, i.e. mappings are ignored in all structs.
|
||||
bool recursive() const;
|
||||
|
||||
private:
|
||||
StructDefinition const& m_struct;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user