We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96995e7 + b416bf2 commit c767e0fCopy full SHA for c767e0f
src/services/services.ts
@@ -3793,6 +3793,10 @@ module ts {
3793
return undefined;
3794
}
3795
3796
+ if (isLabelName(node)) {
3797
+ return undefined;
3798
+ }
3799
+
3800
let symbol = typeInfoResolver.getSymbolAtLocation(node);
3801
if (!symbol) {
3802
// Try getting just type at this position and show
tests/cases/fourslash/noQuickInfoForLabel.ts
@@ -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
0 commit comments