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

Implement a mechanism for deprecating builtin features #898

Open
xiaq opened this issue Jan 17, 2020 · 0 comments
Open

Implement a mechanism for deprecating builtin features #898

xiaq opened this issue Jan 17, 2020 · 0 comments
Labels
Milestone

Comments

@xiaq
Copy link
Member

@xiaq xiaq commented Jan 17, 2020

Implement a method on *Frame that shows a deprecation message:

func (*Frame) Deprecate(reason string)

However, during the entire lifecycle of an Evaler, the same deprecation message should only be shown for the same source location once. For example, if you have a function that uses a deprecated feature, the same message should only be shown the first time the function is called.

Until this feature is implemented, deprecated feature will have a TODO(#898): Formally deprecate feature X attached to them in the Go code.

@xiaq xiaq added the A:Language label Jan 17, 2020
@xiaq xiaq added this to the 0.14 milestone Jan 17, 2020
xiaq added a commit that referenced this issue Jan 17, 2020
The &display-suffix command is still supported but will be deprecated once #898
is fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.