mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Define Error::severity()
This commit is contained in:
parent
78b1f5acc2
commit
c5b81b66cd
@ -206,6 +206,7 @@ public:
|
|||||||
|
|
||||||
ErrorId errorId() const { return m_errorId; }
|
ErrorId errorId() const { return m_errorId; }
|
||||||
Type type() const { return m_type; }
|
Type type() const { return m_type; }
|
||||||
|
Severity severity() const { return errorSeverity(m_type); }
|
||||||
|
|
||||||
SourceLocation const* sourceLocation() const noexcept;
|
SourceLocation const* sourceLocation() const noexcept;
|
||||||
SecondarySourceLocation const* secondarySourceLocation() const noexcept;
|
SecondarySourceLocation const* secondarySourceLocation() const noexcept;
|
||||||
|
Loading…
Reference in New Issue
Block a user