Actually throw YulAssertion in yulAssert

This commit is contained in:
Alex Beregszaszi
2019-12-03 16:40:48 +01:00
parent 9554b90e07
commit cab00755e8
+1 -1
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)
}