Merge branch 'master' into reducedUnionTypes

This commit is contained in:
unknown
2015-04-14 10:09:47 -07:00
2 changed files with 15 additions and 0 deletions

View File

@@ -3793,6 +3793,10 @@ module ts {
return undefined;
}
if (isLabelName(node)) {
return undefined;
}
let symbol = typeInfoResolver.getSymbolAtLocation(node);
if (!symbol) {
// Try getting just type at this position and show

View File

@@ -0,0 +1,11 @@
/// <reference path='fourslash.ts'/>
//// /*1*/label : while(true){
//// break /*2*/label;
//// }
goTo.marker('1');
verify.not.quickInfoExists();
goTo.marker('2');
verify.not.quickInfoExists();