Skip to content

Names used in nested functions should not be flagged as unsued #9403

Description

@mhegazy
function f(a) {
    function b() {
        a++;
    }
    b();
}

a should not be marked us unused

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions