2015-03-13 00:02:43 +01:00
|
|
|
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationOverloadInES6.ts ===
|
2015-03-11 01:39:13 +01:00
|
|
|
class C {
|
2015-04-13 22:54:22 +02:00
|
|
|
>C : C, Symbol(C,Decl(emitClassDeclarationOverloadInES6.ts,0,0))
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(y: any)
|
2015-04-13 22:54:22 +02:00
|
|
|
>y : any, Symbol(y,Decl(emitClassDeclarationOverloadInES6.ts,1,16))
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(x: number) {
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : number, Symbol(x,Decl(emitClassDeclarationOverloadInES6.ts,2,16))
|
2015-03-11 01:39:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class D {
|
2015-04-13 22:54:22 +02:00
|
|
|
>D : D, Symbol(D,Decl(emitClassDeclarationOverloadInES6.ts,4,1))
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(y: any)
|
2015-04-13 22:54:22 +02:00
|
|
|
>y : any, Symbol(y,Decl(emitClassDeclarationOverloadInES6.ts,7,16))
|
2015-03-11 01:39:13 +01:00
|
|
|
|
|
|
|
constructor(x: number, z="hello") {}
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : number, Symbol(x,Decl(emitClassDeclarationOverloadInES6.ts,8,16))
|
|
|
|
>z : string, Symbol(z,Decl(emitClassDeclarationOverloadInES6.ts,8,26))
|
2015-04-13 21:36:11 +02:00
|
|
|
>"hello" : string
|
2015-03-11 01:39:13 +01:00
|
|
|
}
|