File: objectLiteralEnumPropertyNames.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (164 lines) | stat: -rw-r--r-- 6,633 bytes parent folder | download | duplicates (5)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
=== tests/cases/compiler/objectLiteralEnumPropertyNames.ts ===
// Fixes #16887
enum Strs {
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))

    A = 'a',
>A : Symbol(Strs.A, Decl(objectLiteralEnumPropertyNames.ts, 1, 11))

    B = 'b'
>B : Symbol(Strs.B, Decl(objectLiteralEnumPropertyNames.ts, 2, 12))
}
type TestStrs = { [key in Strs]: string }
>TestStrs : Symbol(TestStrs, Decl(objectLiteralEnumPropertyNames.ts, 4, 1))
>key : Symbol(key, Decl(objectLiteralEnumPropertyNames.ts, 5, 19))
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))

const x: TestStrs = {
>x : Symbol(x, Decl(objectLiteralEnumPropertyNames.ts, 6, 5))
>TestStrs : Symbol(TestStrs, Decl(objectLiteralEnumPropertyNames.ts, 4, 1))

    [Strs.A]: 'xo',
>[Strs.A] : Symbol([Strs.A], Decl(objectLiteralEnumPropertyNames.ts, 6, 21))
>Strs.A : Symbol(Strs.A, Decl(objectLiteralEnumPropertyNames.ts, 1, 11))
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))
>A : Symbol(Strs.A, Decl(objectLiteralEnumPropertyNames.ts, 1, 11))

    [Strs.B]: 'xe'
>[Strs.B] : Symbol([Strs.B], Decl(objectLiteralEnumPropertyNames.ts, 7, 19))
>Strs.B : Symbol(Strs.B, Decl(objectLiteralEnumPropertyNames.ts, 2, 12))
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))
>B : Symbol(Strs.B, Decl(objectLiteralEnumPropertyNames.ts, 2, 12))
}
const ux = {
>ux : Symbol(ux, Decl(objectLiteralEnumPropertyNames.ts, 10, 5))

    [Strs.A]: 'xo',
>[Strs.A] : Symbol([Strs.A], Decl(objectLiteralEnumPropertyNames.ts, 10, 12))
>Strs.A : Symbol(Strs.A, Decl(objectLiteralEnumPropertyNames.ts, 1, 11))
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))
>A : Symbol(Strs.A, Decl(objectLiteralEnumPropertyNames.ts, 1, 11))

    [Strs.B]: 'xe'
>[Strs.B] : Symbol([Strs.B], Decl(objectLiteralEnumPropertyNames.ts, 11, 19))
>Strs.B : Symbol(Strs.B, Decl(objectLiteralEnumPropertyNames.ts, 2, 12))
>Strs : Symbol(Strs, Decl(objectLiteralEnumPropertyNames.ts, 0, 0))
>B : Symbol(Strs.B, Decl(objectLiteralEnumPropertyNames.ts, 2, 12))
}
const y: TestStrs = {
>y : Symbol(y, Decl(objectLiteralEnumPropertyNames.ts, 14, 5))
>TestStrs : Symbol(TestStrs, Decl(objectLiteralEnumPropertyNames.ts, 4, 1))

    ['a']: 'yo',
>['a'] : Symbol(['a'], Decl(objectLiteralEnumPropertyNames.ts, 14, 21))
>'a' : Symbol(['a'], Decl(objectLiteralEnumPropertyNames.ts, 14, 21))

    ['b']: 'ye'
>['b'] : Symbol(['b'], Decl(objectLiteralEnumPropertyNames.ts, 15, 16))
>'b' : Symbol(['b'], Decl(objectLiteralEnumPropertyNames.ts, 15, 16))
}
const a = 'a';
>a : Symbol(a, Decl(objectLiteralEnumPropertyNames.ts, 18, 5))

const b = 'b';
>b : Symbol(b, Decl(objectLiteralEnumPropertyNames.ts, 19, 5))

const z: TestStrs = {
>z : Symbol(z, Decl(objectLiteralEnumPropertyNames.ts, 20, 5))
>TestStrs : Symbol(TestStrs, Decl(objectLiteralEnumPropertyNames.ts, 4, 1))

    [a]: 'zo',
>[a] : Symbol([a], Decl(objectLiteralEnumPropertyNames.ts, 20, 21))
>a : Symbol(a, Decl(objectLiteralEnumPropertyNames.ts, 18, 5))

    [b]: 'ze'
>[b] : Symbol([b], Decl(objectLiteralEnumPropertyNames.ts, 21, 14))
>b : Symbol(b, Decl(objectLiteralEnumPropertyNames.ts, 19, 5))
}
const uz = {
>uz : Symbol(uz, Decl(objectLiteralEnumPropertyNames.ts, 24, 5))

    [a]: 'zo',
>[a] : Symbol([a], Decl(objectLiteralEnumPropertyNames.ts, 24, 12))
>a : Symbol(a, Decl(objectLiteralEnumPropertyNames.ts, 18, 5))

    [b]: 'ze'
>[b] : Symbol([b], Decl(objectLiteralEnumPropertyNames.ts, 25, 14))
>b : Symbol(b, Decl(objectLiteralEnumPropertyNames.ts, 19, 5))
}

enum Nums {
>Nums : Symbol(Nums, Decl(objectLiteralEnumPropertyNames.ts, 27, 1))

    A,
>A : Symbol(Nums.A, Decl(objectLiteralEnumPropertyNames.ts, 29, 11))

    B
>B : Symbol(Nums.B, Decl(objectLiteralEnumPropertyNames.ts, 30, 6))
}
type TestNums = { 0: number, 1: number }
>TestNums : Symbol(TestNums, Decl(objectLiteralEnumPropertyNames.ts, 32, 1))
>0 : Symbol(0, Decl(objectLiteralEnumPropertyNames.ts, 33, 17))
>1 : Symbol(1, Decl(objectLiteralEnumPropertyNames.ts, 33, 28))

const n: TestNums = {
>n : Symbol(n, Decl(objectLiteralEnumPropertyNames.ts, 34, 5))
>TestNums : Symbol(TestNums, Decl(objectLiteralEnumPropertyNames.ts, 32, 1))

    [Nums.A]: 1,
>[Nums.A] : Symbol([Nums.A], Decl(objectLiteralEnumPropertyNames.ts, 34, 21))
>Nums.A : Symbol(Nums.A, Decl(objectLiteralEnumPropertyNames.ts, 29, 11))
>Nums : Symbol(Nums, Decl(objectLiteralEnumPropertyNames.ts, 27, 1))
>A : Symbol(Nums.A, Decl(objectLiteralEnumPropertyNames.ts, 29, 11))

    [Nums.B]: 2
>[Nums.B] : Symbol([Nums.B], Decl(objectLiteralEnumPropertyNames.ts, 35, 16))
>Nums.B : Symbol(Nums.B, Decl(objectLiteralEnumPropertyNames.ts, 30, 6))
>Nums : Symbol(Nums, Decl(objectLiteralEnumPropertyNames.ts, 27, 1))
>B : Symbol(Nums.B, Decl(objectLiteralEnumPropertyNames.ts, 30, 6))
}
const un = {
>un : Symbol(un, Decl(objectLiteralEnumPropertyNames.ts, 38, 5))

    [Nums.A]: 3,
>[Nums.A] : Symbol([Nums.A], Decl(objectLiteralEnumPropertyNames.ts, 38, 12))
>Nums.A : Symbol(Nums.A, Decl(objectLiteralEnumPropertyNames.ts, 29, 11))
>Nums : Symbol(Nums, Decl(objectLiteralEnumPropertyNames.ts, 27, 1))
>A : Symbol(Nums.A, Decl(objectLiteralEnumPropertyNames.ts, 29, 11))

    [Nums.B]: 4
>[Nums.B] : Symbol([Nums.B], Decl(objectLiteralEnumPropertyNames.ts, 39, 16))
>Nums.B : Symbol(Nums.B, Decl(objectLiteralEnumPropertyNames.ts, 30, 6))
>Nums : Symbol(Nums, Decl(objectLiteralEnumPropertyNames.ts, 27, 1))
>B : Symbol(Nums.B, Decl(objectLiteralEnumPropertyNames.ts, 30, 6))
}
const an = 0;
>an : Symbol(an, Decl(objectLiteralEnumPropertyNames.ts, 42, 5))

const bn = 1;
>bn : Symbol(bn, Decl(objectLiteralEnumPropertyNames.ts, 43, 5))

const m: TestNums = {
>m : Symbol(m, Decl(objectLiteralEnumPropertyNames.ts, 44, 5))
>TestNums : Symbol(TestNums, Decl(objectLiteralEnumPropertyNames.ts, 32, 1))

    [an]: 5,
>[an] : Symbol([an], Decl(objectLiteralEnumPropertyNames.ts, 44, 21))
>an : Symbol(an, Decl(objectLiteralEnumPropertyNames.ts, 42, 5))

    [bn]: 6
>[bn] : Symbol([bn], Decl(objectLiteralEnumPropertyNames.ts, 45, 12))
>bn : Symbol(bn, Decl(objectLiteralEnumPropertyNames.ts, 43, 5))
}
const um = {
>um : Symbol(um, Decl(objectLiteralEnumPropertyNames.ts, 48, 5))

    [an]: 7,
>[an] : Symbol([an], Decl(objectLiteralEnumPropertyNames.ts, 48, 12))
>an : Symbol(an, Decl(objectLiteralEnumPropertyNames.ts, 42, 5))

    [bn]: 8
>[bn] : Symbol([bn], Decl(objectLiteralEnumPropertyNames.ts, 49, 12))
>bn : Symbol(bn, Decl(objectLiteralEnumPropertyNames.ts, 43, 5))
}