Merge pull request #799 from Microsoft/stopBlindlyColoring

Values sharing names with interfaces no longer classified as interfaces
This commit is contained in:
Daniel Rosenwasser
2014-10-01 17:42:15 -07:00
6 changed files with 117 additions and 97 deletions

View File

@@ -6,7 +6,6 @@
//// }
//// interface X extends M.I { }
debugger;
var c = classification;
verify.semanticClassificationsAre(
c.moduleName("M"), c.interfaceName("I"), c.interfaceName("X"), c.moduleName("M"), c.interfaceName("I"));

View File

@@ -0,0 +1,11 @@
/// <reference path="fourslash.ts"/>
//// interface Thing {
//// toExponential(): number;
//// }
////
//// var Thing = 0;
//// Thing.toExponential();
var c = classification;
verify.semanticClassificationsAre(c.interfaceName("Thing"));