mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7882 from ethereum/libyul-assert
Actually throw YulAssertion in yulAssert
This commit is contained in:
commit
a13416f4da
@ -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