daml/daml-script
Sofia Faro 2ba5ca7ca2
Make DA.Assert throw AssertionFailed instead of GeneralError (#9747)
* Make DA.Assert throw AssertionFailed instead of GeneralError

changelog_begin

- [Daml Standard Library] `assert`, `(===)`, and other assertion functions (see DA.Assert) now use a new `CanAssert` typeclass constraint instead of `CanAbort`, in preparation for exceptions support.

changelog_end

* Add CanAssert instances for Script and Trigger.

* buildifier-fix

* update script test runner output

* Fix flag and add tests.

* update script test runner again
2021-05-20 12:01:50 +00:00
..
converter Upgrade scalafmt and enable trailing commas (#8437) 2021-01-09 11:37:37 +01:00
daml Make DA.Assert throw AssertionFailed instead of GeneralError (#9747) 2021-05-20 12:01:50 +00:00
export Add golden test for example Daml ledger export (#9732) 2021-05-19 12:02:14 +00:00
runner Add golden test for example Daml ledger export (#9732) 2021-05-19 12:02:14 +00:00
test Make DA.Assert throw AssertionFailed instead of GeneralError (#9747) 2021-05-20 12:01:50 +00:00