-
Notifications
You must be signed in to change notification settings - Fork 12.8k
/
Copy pathdeclFileObjectLiteralWithOnlySetter.symbols
29 lines (23 loc) · 1.26 KB
/
declFileObjectLiteralWithOnlySetter.symbols
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
=== tests/cases/compiler/declFileObjectLiteralWithOnlySetter.ts ===
function /*1*/makePoint(x: number) {
>makePoint : Symbol(makePoint, Decl(declFileObjectLiteralWithOnlySetter.ts, 0, 0))
>x : Symbol(x, Decl(declFileObjectLiteralWithOnlySetter.ts, 1, 24))
return {
b: 10,
>b : Symbol(b, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 12))
set x(a: number) { this.b = a; }
>x : Symbol(x, Decl(declFileObjectLiteralWithOnlySetter.ts, 3, 14))
>a : Symbol(a, Decl(declFileObjectLiteralWithOnlySetter.ts, 4, 14))
>this.b : Symbol(b, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 12))
>this : Symbol(__object, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 10))
>b : Symbol(b, Decl(declFileObjectLiteralWithOnlySetter.ts, 2, 12))
>a : Symbol(a, Decl(declFileObjectLiteralWithOnlySetter.ts, 4, 14))
};
};
var /*3*/point = makePoint(2);
>point : Symbol(point, Decl(declFileObjectLiteralWithOnlySetter.ts, 7, 3))
>makePoint : Symbol(makePoint, Decl(declFileObjectLiteralWithOnlySetter.ts, 0, 0))
point./*2*/x = 30;
>point./*2*/x : Symbol(x, Decl(declFileObjectLiteralWithOnlySetter.ts, 3, 14))
>point : Symbol(point, Decl(declFileObjectLiteralWithOnlySetter.ts, 7, 3))
>x : Symbol(x, Decl(declFileObjectLiteralWithOnlySetter.ts, 3, 14))