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

Disambiguate consuming vs preconsuming choices #4164

Merged
merged 1 commit into from
Jan 22, 2020

Conversation

shayne-fletcher
Copy link
Contributor

@shayne-fletcher shayne-fletcher commented Jan 22, 2020

Implementation of preconsuming/consuming split.

@shayne-fletcher shayne-fletcher force-pushed the preconsuming-choices branch 5 times, most recently from bc9d668 to bcf44bd Compare January 22, 2020 17:21
@shayne-fletcher shayne-fletcher marked this pull request as ready for review January 22, 2020 17:22
@shayne-fletcher shayne-fletcher changed the title Wip Disambiguate consuming vs preconsuming choices Jan 22, 2020
Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

Looks great with one minor comment that needs to be addressed before merging, Thank you very much!

compiler/damlc/tests/src/unstable-types.sh Outdated Show resolved Hide resolved
changelog_begin
- [DAML Compiler] Choices marked explicitly as `preconsuming` are now equivalent to a non-consuming choice that calles `archive self` at the beginning.
changelog_end
Copy link
Contributor

@hurryabit hurryabit left a comment

Choose a reason for hiding this comment

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

Awesome. Thank you very much.

@hurryabit
Copy link
Contributor

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@shayne-fletcher shayne-fletcher merged commit e9d67ba into master Jan 22, 2020
@shayne-fletcher shayne-fletcher deleted the preconsuming-choices branch January 22, 2020 19:24
mergify bot pushed a commit that referenced this pull request Jan 24, 2020
* Document consumability qualifiers and their privacy implications in the reference docs

CHANGELOG_BEGIN
[Documentation] Documented consumability qualifiers in the DAML reference docs, along with their privacy implications
CHANGELOG_END

* Fix WARNING: Title underline too short.

* Fix DAML compile errors on reference docs code

* Addresses #4134 (comment)

* Addresses #4134 (comment)

* Addresses #4134 (comment)

* Addresses #4134 (comment)

* Addresses #4134 (comment)

* Review and fix according to improvements part of #4164

* Addresses #4134 (comment)

* Grammar fix

* Address #4134 (comment)

* Address #4134 (comment)

* Address #4134 (review)
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.

3 participants