TypeScript/tests/cases/fourslash/goToImplementationInterfaceMethod_03.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

24 lines
557 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should not return super implementations when method is implemented in class
//// interface Foo {
//// hello (): void;
//// }
////
//// class Bar extends SuperBar {
//// [|hello|]() {}
//// }
////
//// class SuperBar implements Foo {
//// hello() {} // should not show up
//// }
////
//// class OtherBar implements Foo {
//// hello() {} // should not show up
//// }
////
//// new Bar().hel/*function_call*/lo();
//// new Bar()["hello"]();
verify.allRangesAppearInImplementationList("function_call");