Skip to content

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

Closed
@mhegazy

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

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions