Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LF: Add "requires" field to Scala Ast. #12028

Merged
merged 2 commits into from
Dec 7, 2021
Merged

Conversation

remyhaemmerle-da
Copy link
Collaborator

Part of #11978. Adds typechecking for this field on the interface side,
and enforces that any template that implements A must implement B if A requires B.

CHANGELOG_BEGIN
CHANGELOG_END

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description
  • If you mean to change the status of a component, please make sure you keep the Component Status page up to date.

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

Part of #11978. Adds typechecking for this field on the interface side,
and enforces that any template that implements A must implement B if A requires B.

CHANGELOG_BEGIN
CHANGELOG_END
@remyhaemmerle-da remyhaemmerle-da marked this pull request as ready for review December 7, 2021 15:46
@remyhaemmerle-da remyhaemmerle-da requested review from sofiafaro-da and removed request for cocreature December 7, 2021 15:47
Copy link
Contributor

@sofiafaro-da sofiafaro-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Co-authored-by: Sofia Faro <sofia.faro@digitalasset.com>
@remyhaemmerle-da remyhaemmerle-da enabled auto-merge (squash) December 7, 2021 16:11
@remyhaemmerle-da remyhaemmerle-da merged commit 9d7eb07 into main Dec 7, 2021
@remyhaemmerle-da remyhaemmerle-da deleted the remy-lf-interface branch December 7, 2021 17:53
azure-pipelines bot pushed a commit that referenced this pull request Dec 8, 2021
This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@akrmn is in charge of this release.

Commit log:
```
c4d82f7 new 2.12-removal-enabled features for NonEmpty (#11933)
9e5bea1 LF: Node statistics of a transaction (#12018)
43c8641 interfaces: add up/downcast expressions in proto (#12030)
9d7eb07 LF: Add "requires" field to Scala Ast. (#12028)
a159b50 Test release for split release process (attempt 3) (#12019)
1dd8131 interfaces: Add "requires" field in Haskell AST. (#12016)
ef23593 update compat versions for 1.11.3 (#12012)
be088c6 pipeline: fix pie failure (#12017)
c493c46 Test release for split release process (attempt 2) (#12007)
8df9a42 Interface desugaring cont. (#11964)
ef4ae93 Add Ledger API scala client for user management (#12000)
444b3ac Rerelease 1.11.3 (#12006)
c63a2c8 Drop 1.11.3 release to allow for a retry (#12005)
505a37f Fix yaml again … (#12004)
4099dff Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
00d3326 Remove source code specific to Scala 2.12 (#12003)
fa88836 Fix main build after broken yaml config (#12002)
1c4151b Test release for split release process (#11992)
47ce526 update NOTICES file (#11995)
```
Changelog:
```
CHANGELOG_EN
- [Scala bindings] add methods to call the user management API
```

CHANGELOG_BEGIN
CHANGELOG_END
akrmn pushed a commit that referenced this pull request Dec 8, 2021
This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@akrmn is in charge of this release.

Commit log:
```
c4d82f7 new 2.12-removal-enabled features for NonEmpty (#11933)
9e5bea1 LF: Node statistics of a transaction (#12018)
43c8641 interfaces: add up/downcast expressions in proto (#12030)
9d7eb07 LF: Add "requires" field to Scala Ast. (#12028)
a159b50 Test release for split release process (attempt 3) (#12019)
1dd8131 interfaces: Add "requires" field in Haskell AST. (#12016)
ef23593 update compat versions for 1.11.3 (#12012)
be088c6 pipeline: fix pie failure (#12017)
c493c46 Test release for split release process (attempt 2) (#12007)
8df9a42 Interface desugaring cont. (#11964)
ef4ae93 Add Ledger API scala client for user management (#12000)
444b3ac Rerelease 1.11.3 (#12006)
c63a2c8 Drop 1.11.3 release to allow for a retry (#12005)
505a37f Fix yaml again … (#12004)
4099dff Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
00d3326 Remove source code specific to Scala 2.12 (#12003)
fa88836 Fix main build after broken yaml config (#12002)
1c4151b Test release for split release process (#11992)
47ce526 update NOTICES file (#11995)
```
Changelog:
```
CHANGELOG_EN
- [Scala bindings] add methods to call the user management API
```

CHANGELOG_BEGIN
CHANGELOG_END
akrmn pushed a commit that referenced this pull request Dec 8, 2021
This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@akrmn is in charge of this release.

Commit log:
```
c4d82f7 new 2.12-removal-enabled features for NonEmpty (#11933)
9e5bea1 LF: Node statistics of a transaction (#12018)
43c8641 interfaces: add up/downcast expressions in proto (#12030)
9d7eb07 LF: Add "requires" field to Scala Ast. (#12028)
a159b50 Test release for split release process (attempt 3) (#12019)
1dd8131 interfaces: Add "requires" field in Haskell AST. (#12016)
ef23593 update compat versions for 1.11.3 (#12012)
be088c6 pipeline: fix pie failure (#12017)
c493c46 Test release for split release process (attempt 2) (#12007)
8df9a42 Interface desugaring cont. (#11964)
ef4ae93 Add Ledger API scala client for user management (#12000)
444b3ac Rerelease 1.11.3 (#12006)
c63a2c8 Drop 1.11.3 release to allow for a retry (#12005)
505a37f Fix yaml again … (#12004)
4099dff Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
00d3326 Remove source code specific to Scala 2.12 (#12003)
fa88836 Fix main build after broken yaml config (#12002)
1c4151b Test release for split release process (#11992)
47ce526 update NOTICES file (#11995)
```
Changelog:
```
CHANGELOG_EN
- [Scala bindings] add methods to call the user management API
```

CHANGELOG_BEGIN
CHANGELOG_END
akrmn pushed a commit that referenced this pull request Dec 8, 2021
This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@akrmn is in charge of this release.

Commit log:
```
c4d82f7 new 2.12-removal-enabled features for NonEmpty (#11933)
9e5bea1 LF: Node statistics of a transaction (#12018)
43c8641 interfaces: add up/downcast expressions in proto (#12030)
9d7eb07 LF: Add "requires" field to Scala Ast. (#12028)
a159b50 Test release for split release process (attempt 3) (#12019)
1dd8131 interfaces: Add "requires" field in Haskell AST. (#12016)
ef23593 update compat versions for 1.11.3 (#12012)
be088c6 pipeline: fix pie failure (#12017)
c493c46 Test release for split release process (attempt 2) (#12007)
8df9a42 Interface desugaring cont. (#11964)
ef4ae93 Add Ledger API scala client for user management (#12000)
444b3ac Rerelease 1.11.3 (#12006)
c63a2c8 Drop 1.11.3 release to allow for a retry (#12005)
505a37f Fix yaml again … (#12004)
4099dff Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
00d3326 Remove source code specific to Scala 2.12 (#12003)
fa88836 Fix main build after broken yaml config (#12002)
1c4151b Test release for split release process (#11992)
47ce526 update NOTICES file (#11995)
```
Changelog:
```
CHANGELOG_EN
- [Scala bindings] add methods to call the user management API
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants