-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
I'm using tsc 2.0.0 in vs 2015 (with update 3 installed) and trying to rename a for-loop label:
loop: for (const item of items) {
for (let i = 0; i < n; i++) {
if (test(i, item))
continue loop;
}
}The ts language service says "You cannot rename this element." However when I click on the loop label, it correctly highlights all its occurrences.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueFixedA PR has been merged for this issueA PR has been merged for this issue