Actually throw YulAssertion in yulAssert

This commit is contained in:
Alex Beregszaszi 2019-11-26 22:49:26 +01:00
parent 9554b90e07
commit cab00755e8

View File

@ -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)
}