daml/language-support
nickchapman-da 9b2158508b
Add new variant to Value.scala for builtin-exceptions. (#9084)
* Add new variant to Value.scala for builtin-exceptions.

final case class ValueBuiltinException[+Cid](tag: String, value: Value[Cid]) extends Value[Cid]

And push through the code consequences.
Most places fixed up.
A couple more things to do in this PR (marked NICK)
A couple of things which can be left for later (marked 8020)

fix build

fix another scala match

changelog_begin
changelog_end

* fix any match

* add marker of code which needs attending to in the PR

* extend ledger-api value.proto & fix LfEngineToApi

* undo/comment-out the change to value.proto

* add tests in HashSpec for BuiltinException

* code but dont yet enable value-gen for builtin exceptions

* address comments which suggest we crash in various places

* support BuiltinException in scenario_service.proto

* one more TODO 8020 tag
2021-03-16 13:15:33 +00:00
..
codegen-common Port the rest of //language-support/... to Scala 2.13 (#8846) 2021-02-15 15:08:00 +01:00
codegen-main Port the rest of //language-support/... to Scala 2.13 (#8846) 2021-02-15 15:08:00 +01:00
hs/bindings LF: release LF 1.12 (#8856) 2021-02-24 21:17:33 +01:00
java Do not require a JWT token for Health and Reflection services [DPP-277] (#8969) 2021-03-03 11:05:35 +00:00
scala Add new variant to Value.scala for builtin-exceptions. (#9084) 2021-03-16 13:15:33 +00:00
ts Ledger: refactor bazel packaging of tedger test tool (#8894) 2021-02-22 11:41:19 +01:00