2015-03-11 03:11:07 +01:00
|
|
|
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts ===
|
|
|
|
class B<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>B : B<T>, Symbol(B,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,0))
|
|
|
|
>T : T, Symbol(T,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,8))
|
2015-03-11 03:11:07 +01:00
|
|
|
|
|
|
|
constructor(a: T) { }
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : T, Symbol(a,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,1,16))
|
|
|
|
>T : T, Symbol(T,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,8))
|
2015-03-11 03:11:07 +01:00
|
|
|
}
|
|
|
|
class C extends B<string> { }
|
2015-04-13 22:54:22 +02:00
|
|
|
>C : C, Symbol(C,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,2,1))
|
|
|
|
>B : B<T>, Symbol(B,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,0))
|
2015-03-11 03:11:07 +01:00
|
|
|
|
|
|
|
class D extends B<number> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>D : D, Symbol(D,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,3,29))
|
|
|
|
>B : B<T>, Symbol(B,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,0))
|
2015-03-11 03:11:07 +01:00
|
|
|
|
|
|
|
constructor(a: any)
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : any, Symbol(a,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,5,16))
|
2015-03-11 03:11:07 +01:00
|
|
|
|
|
|
|
constructor(b: number) {
|
2015-04-13 22:54:22 +02:00
|
|
|
>b : number, Symbol(b,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,6,16))
|
2015-03-11 03:11:07 +01:00
|
|
|
|
|
|
|
super(b);
|
|
|
|
>super(b) : void
|
2015-04-13 22:54:22 +02:00
|
|
|
>super : typeof B, Symbol(B,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,0,0))
|
|
|
|
>b : number, Symbol(b,Decl(emitClassDeclarationWithExtensionAndTypeArgumentInES6.ts,6,16))
|
2015-03-11 03:11:07 +01:00
|
|
|
}
|
|
|
|
}
|