45 lines
1 KiB
TypeScript
45 lines
1 KiB
TypeScript
|
/// <reference path="fourslash.ts"/>
|
||
|
|
||
|
////class Base {
|
||
|
//// protected y;
|
||
|
//// constructor(protected x) {}
|
||
|
//// method() { this./*1*/; }
|
||
|
////}
|
||
|
////class D1 extends Base {
|
||
|
//// protected z;
|
||
|
//// method1() { this./*2*/; }
|
||
|
////}
|
||
|
////class D2 extends Base {
|
||
|
//// method2() { this./*3*/; }
|
||
|
////}
|
||
|
////class D3 extends D1 {
|
||
|
//// method2() { this./*4*/; }
|
||
|
////}
|
||
|
////var b: Base;
|
||
|
////f./*5*/
|
||
|
|
||
|
goTo.marker("1");
|
||
|
verify.memberListContains("y");
|
||
|
verify.memberListContains("x");
|
||
|
verify.not.memberListContains("z");
|
||
|
|
||
|
goTo.marker("2");
|
||
|
verify.memberListContains("y");
|
||
|
verify.memberListContains("x");
|
||
|
verify.memberListContains("z");
|
||
|
|
||
|
goTo.marker("3");
|
||
|
verify.memberListContains("y");
|
||
|
verify.memberListContains("x");
|
||
|
verify.not.memberListContains("z");
|
||
|
|
||
|
goTo.marker("4");
|
||
|
verify.memberListContains("y");
|
||
|
verify.memberListContains("x");
|
||
|
verify.memberListContains("z");
|
||
|
|
||
|
goTo.marker("5");
|
||
|
verify.not.memberListContains("x");
|
||
|
verify.not.memberListContains("y");
|
||
|
verify.not.memberListContains("z");
|