Skip to content

alias, deprecated, and to_additive don't get along togther #19424

@kim-em

Description

@kim-em

Unfortunately,

@[to_additive (attr := deprecated (since := "date"))] alias foo_mul := bar_mul

only attaches the replacement name to foo_mul, not to foo_add, and so we need to add the replacement foo_add -> bar_add in a separate attribute statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions