Fix incorrect returning of completion entries when in string literal of property assignment expression

Fixes #11232
This commit is contained in:
Sheetal Nandi
2016-10-05 14:19:38 -07:00
parent a31415d5b0
commit 612003d7ee
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
/// <reference path='fourslash.ts' />
////var foo;
////interface I {
//// metadata: string;
//// wat: string;
////}
////var x: I = {
//// metadata: "/*1*/
////}
goTo.marker('1');
verify.not.completionListContains("metadata");
verify.not.completionListContains("wat");