Merge pull request #6850 from RyanCavanaugh/fix6654

Always show file tokens in JS completion lists
This commit is contained in:
Ryan Cavanaugh
2016-02-04 09:57:26 -08:00
2 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
/// <reference path="fourslash.ts" />
// @allowNonTsExtensions: true
// @Filename: Foo.js
//// function f() {
//// // helloWorld leaks from here into the global space?
//// if (helloWorld) {
//// return 3;
//// }
//// return 5;
//// }
////
//// hello/**/
verify.completionListContains('helloWorld');