Fail on assertion failures in yul code generation.

This commit is contained in:
chriseth
2021-01-14 14:51:16 +00:00
committed by Alex Beregszaszi
parent 7d036dcb81
commit a4769d446f
2 changed files with 120 additions and 130 deletions
+1
View File
@@ -104,6 +104,7 @@ struct ErrorId
{
unsigned long long error = 0;
bool operator==(ErrorId const& _rhs) const { return error == _rhs.error; }
bool operator!=(ErrorId const& _rhs) const { return !(*this == _rhs); }
};
constexpr ErrorId operator"" _error(unsigned long long _error) { return ErrorId{ _error }; }