Skip to content

Deprecated attribute does not propagate on anonymous functions in new solver #2162

@JohnnyMorganz

Description

@JohnnyMorganz
local foo = @deprecated function()
end

foo()

In the old solver, this will report DeprecatedApi: Function 'foo' is deprecated on the last line.
In the new solver, it does not report anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions