-
Notifications
You must be signed in to change notification settings - Fork 205
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
Emit warnings on controller can syntax #11317
Comments
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 25, 2021
part of #11317 changelog_begin changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 25, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 25, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 26, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 28, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 28, 2021
moisesackerman-da
pushed a commit
that referenced
this issue
Oct 28, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
akrmn
added a commit
that referenced
this issue
Nov 19, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
akrmn
added a commit
that referenced
this issue
Nov 29, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
akrmn
added a commit
that referenced
this issue
Nov 30, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
part of #11317 changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
Also fixed some literalinclude snippets to use blocks instead of line numbers part of #11317
akrmn
added a commit
that referenced
this issue
Dec 1, 2021
Closes #11317 * Add warning for uses of 'controller ... can' syntax * Remove uses of 'controller ... can' syntax * Add test cases for -W{,no-}controller-can * Update docs to reflect 'controller ... can' syntax deprecation changelog_begin * Deprecate 'controller ... can' syntax. * It will be removed in a future version of Daml. * Instead, use 'choice ... with ... controller' syntax. Note that this does not implictly add the controller as an observer, so it must be added explictly as one (or as a signatory). changelog_end
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We want to deprecate the
controller … can
syntax in favor of thechoice X controller …
syntax. To do that we need to catch this in our GHC parser https://github.com/digital-asset/ghc/blob/9fcd347e46790d0d054c347de7d36303426ee173/compiler/parser/Parser.y#L1241 and emit a warning.This also means we have to update our docs to no longer use that.
The text was updated successfully, but these errors were encountered: