TypeScript/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.types

22 lines
735 B
Text
Raw Normal View History

=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithStaticPropertyAssignmentInES6.ts ===
class C {
2015-04-13 23:01:57 +02:00
>C : C, Symbol(C, Decl(emitClassDeclarationWithStaticPropertyAssignmentInES6.ts, 0, 0))
static z: string = "Foo";
2015-04-13 23:01:57 +02:00
>z : string, Symbol(C.z, Decl(emitClassDeclarationWithStaticPropertyAssignmentInES6.ts, 0, 9))
2015-04-13 21:36:11 +02:00
>"Foo" : string
}
class D {
2015-04-13 23:01:57 +02:00
>D : D, Symbol(D, Decl(emitClassDeclarationWithStaticPropertyAssignmentInES6.ts, 2, 1))
x = 20000;
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(emitClassDeclarationWithStaticPropertyAssignmentInES6.ts, 4, 9))
2015-04-13 21:36:11 +02:00
>20000 : number
static b = true;
2015-04-13 23:01:57 +02:00
>b : boolean, Symbol(D.b, Decl(emitClassDeclarationWithStaticPropertyAssignmentInES6.ts, 5, 14))
2015-04-13 21:36:11 +02:00
>true : boolean
}