mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
e54ec705b5
This is mostly a preparation for dropping `makeInstances` entirely. As a side effect we have to change how we test properties of the DAML-LF generated by damlc. Previously, we turned the AST into JSON using its `ToJSON` instances. Now, we turn the AST into JSON using the `ToJSONPB` instances generated by `proto3-suite`. The resulting JSON is then inspected using the `jq` tool in both cases. This change actually improves our testing since we're now testing properties of the generated protobuf encoding of the AST rather than of our pleasant Haskell representation of the AST. |
||
---|---|---|
.. | ||
bazel-runfiles | ||
da-hs-base | ||
da-hs-json-rpc | ||
da-hs-language-server | ||
da-hs-pretty | ||
prettyprinter-syntax |