2014-11-13 21:02:13 +01:00
|
|
|
=== tests/cases/conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandProperties.ts ===
|
2014-11-11 20:31:45 +01:00
|
|
|
var a, b, c;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : any, Symbol(a, Decl(objectLiteralShorthandProperties.ts, 0, 3))
|
|
|
|
>b : any, Symbol(b, Decl(objectLiteralShorthandProperties.ts, 0, 6))
|
|
|
|
>c : any, Symbol(c, Decl(objectLiteralShorthandProperties.ts, 0, 9))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
var x1 = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x1 : { a: any; }, Symbol(x1, Decl(objectLiteralShorthandProperties.ts, 2, 3))
|
2014-11-11 20:31:45 +01:00
|
|
|
>{ a} : { a: any; }
|
|
|
|
|
|
|
|
a
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : any, Symbol(a, Decl(objectLiteralShorthandProperties.ts, 2, 10))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
var x2 = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x2 : { a: any; }, Symbol(x2, Decl(objectLiteralShorthandProperties.ts, 6, 3))
|
2014-11-11 20:31:45 +01:00
|
|
|
>{ a,} : { a: any; }
|
|
|
|
|
|
|
|
a,
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : any, Symbol(a, Decl(objectLiteralShorthandProperties.ts, 6, 10))
|
2014-11-11 20:31:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
var x3 = {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandProperties.ts, 10, 3))
|
2014-12-03 12:05:37 +01:00
|
|
|
>{ a: 0, b, c, d() { }, x3, parent: x3} : { a: number; b: any; c: any; d(): void; x3: any; parent: any; }
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
a: 0,
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : number, Symbol(a, Decl(objectLiteralShorthandProperties.ts, 10, 10))
|
2015-04-13 21:36:11 +02:00
|
|
|
>0 : number
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
b,
|
2015-04-13 23:01:57 +02:00
|
|
|
>b : any, Symbol(b, Decl(objectLiteralShorthandProperties.ts, 11, 9))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
c,
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : any, Symbol(c, Decl(objectLiteralShorthandProperties.ts, 12, 6))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
d() { },
|
2015-04-13 23:01:57 +02:00
|
|
|
>d : () => void, Symbol(d, Decl(objectLiteralShorthandProperties.ts, 13, 6))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
x3,
|
2015-04-13 23:01:57 +02:00
|
|
|
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandProperties.ts, 14, 12))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
parent: x3
|
2015-04-13 23:01:57 +02:00
|
|
|
>parent : any, Symbol(parent, Decl(objectLiteralShorthandProperties.ts, 15, 7))
|
|
|
|
>x3 : any, Symbol(x3, Decl(objectLiteralShorthandProperties.ts, 10, 3))
|
2014-11-11 20:31:45 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|