mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
415cf95c78
* Use lookupTemplateImplementsOrInterfaceCoImplements in checkGenImplementation * Update docs for ImplementsDefRef to reflect reality Namely, it does not point to a conversion function, and the actual value it points to is irrelevant. Only its presence is used to determine whether a template implements an interface or not. Consequently, it now points to the unit value instead of the identity function. * Generate 'CoImplementsDefRef's for each co-implemented template * Consider CoImplementsDefRef in SBuiltin when checking if a template implements an interface Also factor out check into private function * Compile co-implemented methods using CoImplementsMethodDefRef * SBCallInterface now uses CoImplementsDefRef for co-implemented methods * Add test cases for (co)implemented interfaces in SBuiltinInterfaceTest * Remove TemplateDoesNotImplementInterface error * Explicitly override def in '*Implements*DefRef' changelog_begin changelog_end |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |