30 lines
No EOL
708 B
TypeScript
30 lines
No EOL
708 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// @Filename: file1.ts
|
|
//// class C extends D {
|
|
//// /*0*/prop0: string;
|
|
//// /*1*/prop1: string;
|
|
//// }
|
|
////
|
|
//// class D extends C {
|
|
//// /*2*/prop0: string;
|
|
//// /*3*/prop1: string;
|
|
//// }
|
|
////
|
|
//// var d: D;
|
|
//// d./*4*/prop1;
|
|
|
|
goTo.marker("0");
|
|
verify.documentHighlightsAtPositionCount(1, ["file1.ts"]);
|
|
|
|
goTo.marker("1");
|
|
verify.documentHighlightsAtPositionCount(1, ["file1.ts"]);
|
|
|
|
goTo.marker("2");
|
|
verify.documentHighlightsAtPositionCount(1, ["file1.ts"]);
|
|
|
|
goTo.marker("3");
|
|
verify.documentHighlightsAtPositionCount(2, ["file1.ts"]);
|
|
|
|
goTo.marker("4");
|
|
verify.documentHighlightsAtPositionCount(2, ["file1.ts"]); |