mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add default messages to assertion macros
This commit is contained in:
@@ -27,6 +27,6 @@ namespace solidity::smtutil
|
||||
struct SMTLogicError: virtual util::Exception {};
|
||||
|
||||
#define smtAssert(CONDITION, DESCRIPTION) \
|
||||
assertThrow(CONDITION, SMTLogicError, DESCRIPTION)
|
||||
assertThrowWithDefaultDescription(CONDITION, SMTLogicError, DESCRIPTION, "SMT assertion failed")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user