TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_09.ts

32 lines
657 B
TypeScript
Raw Normal View History

2016-08-22 22:57:40 +02:00
/// <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();
2016-09-07 02:02:23 +02:00
//// super["hel/*element_access*/lo"]();
2016-08-22 22:57:40 +02:00
//// }
//// }
////
//// class SuperBar extends MegaBar {
//// [|hello|]() {}
2016-08-22 22:57:40 +02:00
//// }
////
//// class MegaBar implements Foo {
//// hello() {}
//// }
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("function_call");
verify.allRangesAppearInImplementationList("element_access");