28 lines
No EOL
672 B
TypeScript
28 lines
No EOL
672 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////class A { }
|
|
////class B extends A { }
|
|
////class C extends B {
|
|
//// constructor() {
|
|
//// super(/*1*/ // sig help here?
|
|
//// }
|
|
////}
|
|
////class A2 { }
|
|
////class B2 extends A2 {
|
|
//// constructor(x:number) {}
|
|
//// }
|
|
////class C2 extends B2 {
|
|
//// constructor() {
|
|
//// super(/*2*/ // sig help here?
|
|
//// }
|
|
////}
|
|
|
|
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
|
|
edit.insert('');
|
|
|
|
goTo.marker('1');
|
|
verify.signatureHelpPresent();
|
|
verify.currentSignatureHelpIs('B(): B');
|
|
|
|
goTo.marker('2');
|
|
verify.currentSignatureHelpIs('B2(x: number): B2'); |