Skip to content

Rename and name hiding/conflicts #73

@JayBazuzi

Description

@JayBazuzi

Given this input:

function f() {
    const x = 1;
    {
        const y = 2;
        {
            return x;
        }
    }
}
  • Rename x to y
  • Rename y to x

Both should be rejected as errors.

Metadata

Metadata

Assignees

Labels

RefakTS CommandIssues that introduce new commands to the productgood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions