10000 `deprecated` · Issue #1616 · tact-lang/tact · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
deprecated #1616
Open
Open
Idea
@verytactical

Description

@verytactical

Add modifier deprecated or annotation @deprecated that can be used on deprecated declarations/definitions.

Emit a warning when deprecated something is used in compiled code.

Display them with a strikethrough in IDE.

Example use: SendRemainingBalance is very similar to SendRemainingValue, and will drain the whole balance of a contract of an unattentive Tact user. We can't just rename it without breaking backwards compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0