mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
94aea562d6
* scala codegen: add GenMap support * scala-codegen: use InsertOrdMap as underlying of Generic Map binding * Address Stephen's comments * make TextMap a strict subtype of immutable.Map to avoid overlap with GenMap Otherwise, attempted GenMap encodings like `Value.encode(InsertOrdMap("foo" -> "bar"))` (and any contract containing such a structure) are either ambiguous or, worse, yield the wrong result. * ensure better return types for InsertOrdMap and similar wrappers' operations * if is an expression * adapt various primitive encodings to newtype TextMap * easy cleanups of the TextMapApi * proper alias for deprecated Map * update deprecation releases * Revert "proper alias for deprecated Map" This reverts commit e85aa85b960c4bf5c4f9624896183ec6e2182bba. * remove useless invisible deprecated notice * add generic map tests for scala codegen * please restart CI |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |