TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_09.ts
Andy 9d42ab983d
implementations: Use declaration name for the span (#24537)
* implementations: Use declaration name for the span

* Always get name in nodeEntry
2018-05-31 13:32:02 -07:00

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");