mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove a dedicated error flag from DeclarationTypeChecker
This commit is contained in:
@@ -134,6 +134,12 @@ public:
|
||||
return m_errorCount > 0;
|
||||
}
|
||||
|
||||
/// @returns the number of errors (ignores warnings).
|
||||
unsigned errorCount() const
|
||||
{
|
||||
return m_errorCount;
|
||||
}
|
||||
|
||||
// @returns true if the maximum error count has been reached.
|
||||
bool hasExcessiveErrors() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user