Skip to content

Rename import: left-hand side should not be a write access / definition #14005

Closed
@ghost

Description

TypeScript Version: nightly (2.2.0-dev.20170210)

Code

import { p as q }

Expected behavior:

p is not a write access or definition. q is.

Actual behavior:

Both are considered write accesses. See findAllRefsReExports.ts for an example (test added by #14001).

Metadata

Metadata

Assignees

No one assigned

    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