mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Actually throw YulAssertion in yulAssert
This commit is contained in:
parent
9554b90e07
commit
cab00755e8
@ -33,6 +33,6 @@ struct YulAssertion: virtual YulException {};
|
||||
|
||||
/// Assertion that throws an YulAssertion containing the given description if it is not met.
|
||||
#define yulAssert(CONDITION, DESCRIPTION) \
|
||||
assertThrow(CONDITION, ::yul::YulException, DESCRIPTION)
|
||||
assertThrow(CONDITION, ::yul::YulAssertion, DESCRIPTION)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user