Merge pull request #7882 from ethereum/libyul-assert

Actually throw YulAssertion in yulAssert
This commit is contained in:
Mathias L. Baumann
2019-12-03 17:39:22 +01:00
committed by GitHub
+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)
}