9d42ab983d
* implementations: Use declaration name for the span * Always get name in nodeEntry
32 lines
657 B
TypeScript
32 lines
657 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// Should handle calls made on super
|
|
|
|
//// interface Foo {
|
|
//// hello (): void;
|
|
//// }
|
|
////
|
|
//// class SubBar extends Bar {
|
|
//// hello() {}
|
|
//// }
|
|
////
|
|
//// class Bar extends SuperBar {
|
|
//// hello() {}
|
|
////
|
|
//// whatever() {
|
|
//// super.he/*function_call*/llo();
|
|
//// super["hel/*element_access*/lo"]();
|
|
//// }
|
|
//// }
|
|
////
|
|
//// class SuperBar extends MegaBar {
|
|
//// [|hello|]() {}
|
|
//// }
|
|
////
|
|
//// class MegaBar implements Foo {
|
|
//// hello() {}
|
|
//// }
|
|
|
|
verify.allRangesAppearInImplementationList("function_call");
|
|
verify.allRangesAppearInImplementationList("element_access");
|