Skip to content

Missing "Assigned but not used" warning when same symbol used in local function #314

Closed
@fredrikekre

Description

@fredrikekre

This doesn't warn for Assigned but not used for k. (Perhaps it should also warn for bar?)

function foo()
    bar(k) = k + 1
    k = 1
    return nothing
end

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