mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
3ffa2232a9
* Allow shadowing of type variables in DAML and DAML-LF We relax the DAML-LF type checker to allow for shadowing of type variables. This does not need big changes since the substitution we use already avoids name capture. The test for alpha equivalence converts to de Bruijn indices on the fly and is hence not a problem either. We inline type synonyms during the conversion from GHC Core to DAML-LF. This requires alpha renaming. The cheapest way to get this, is to use the unique names of type variables instead of their surface names. This fixes #1915. * Fix Scala test * Relax memory constraints for bond-trading test |
||
---|---|---|
.. | ||
src/DA/Daml/LF | ||
BUILD.bazel |