Skip to content

Commit c767e0f

Browse files
committed
Merge branch 'GuillaumeSalles-master'
2 parents 96995e7 + b416bf2 commit c767e0f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/services/services.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3793,6 +3793,10 @@ module ts {
37933793
return undefined;
37943794
}
37953795

3796+
if (isLabelName(node)) {
3797+
return undefined;
3798+
}
3799+
37963800
let symbol = typeInfoResolver.getSymbolAtLocation(node);
37973801
if (!symbol) {
37983802
// Try getting just type at this position and show
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/// <reference path='fourslash.ts'/>
2+
3+
//// /*1*/label : while(true){
4+
//// break /*2*/label;
5+
//// }
6+
7+
goTo.marker('1');
8+
verify.not.quickInfoExists();
9+
10+
goTo.marker('2');
11+
verify.not.quickInfoExists();

0 commit comments

Comments
 (0)