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

Remove compiler support for controller..can choice syntax #17362

Merged
merged 10 commits into from
Sep 8, 2023

Conversation

akrmn
Copy link
Contributor

@akrmn akrmn commented Sep 4, 2023

Part of #17361

Daml PR: #17362
DA-GHC PR: digital-asset/ghc#171
docs.daml.com PR: digital-asset/docs.daml.com#453

Copy link
Contributor

@basvangijzel-DA basvangijzel-DA left a comment

Choose a reason for hiding this comment

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

Looks good, would you mind adding an entry to the changelog as well?

@akrmn
Copy link
Contributor Author

akrmn commented Sep 5, 2023

Looks good, would you mind adding an entry to the changelog as well?

thanks for the reminder, it's done now :)

Note that, as a consequence, the warning flags `-Wcontroller-can` and
`-Wnocontroller-can` are not accepted anymore.

See [Deprecation of `controller`-first syntax: Migrating](https://docs.daml.com/2.7.0/daml/reference/choices.html#migrating)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

intentionally pointing to the 2.seven.0 docs, I don't think we want to keep the migration guide in the 2.8.0 docs; if we do, we'd just be pushing the deprecation down the line

Copy link
Contributor

@carrielaben-da carrielaben-da left a comment

Choose a reason for hiding this comment

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

Good from a docs perspective.

UNRELEASED.md Outdated Show resolved Hide resolved
@akrmn akrmn linked an issue Sep 5, 2023 that may be closed by this pull request
@akrmn akrmn force-pushed the akrmn/no-controller-can branch 3 times, most recently from a75a137 to 0094243 Compare September 7, 2023 15:28
@akrmn akrmn enabled auto-merge (squash) September 7, 2023 15:28
@akrmn akrmn force-pushed the akrmn/no-controller-can branch from 0094243 to fb01ca2 Compare September 8, 2023 08:38
@akrmn akrmn merged commit 1bee52e into main Sep 8, 2023
@akrmn akrmn deleted the akrmn/no-controller-can branch September 8, 2023 10:30
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.

Remove controller-first choice syntax ("controller..can")
3 participants