TypeScript/tests/cases/fourslash/goToImplementationSuper_01.ts

15 lines
368 B
TypeScript
Raw Normal View History

2016-08-22 22:57:40 +02:00
/// <reference path='fourslash.ts'/>
// Should go to the super class declaration when invoked on the super keyword in a property access expression
//// class [|Foo|] {
2016-08-22 22:57:40 +02:00
//// hello() {}
//// }
2016-08-22 22:57:40 +02:00
////
//// class Bar extends Foo {
//// hello() {
//// sup/*super_call*/er.hello();
//// }
//// }
2016-09-14 02:33:49 +02:00
verify.allRangesAppearInImplementationList("super_call");