2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class c {
|
|
|
|
//// static x: number;
|
|
|
|
//// public foo() {
|
|
|
|
//// with ({}) {
|
|
|
|
//// function f() { }
|
|
|
|
//// var d = this./*1*/foo;
|
|
|
|
//// /*2*/
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
|
|
|
goTo.marker('1');
|
|
|
|
verify.memberListIsEmpty();
|
|
|
|
|
|
|
|
goTo.marker('2');
|
2014-09-13 00:31:47 +02:00
|
|
|
// Only keywords should show in completion, no members or types
|
2014-07-13 01:04:16 +02:00
|
|
|
verify.not.completionListContains("foo");
|
|
|
|
verify.not.completionListContains("f");
|
|
|
|
verify.not.completionListContains("c");
|
|
|
|
verify.not.completionListContains("d");
|
|
|
|
verify.not.completionListContains("x");
|
2014-09-13 00:31:47 +02:00
|
|
|
verify.not.completionListContains("Object");
|