File: objectTypeWithNumericProperty.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (119 lines) | stat: -rw-r--r-- 6,527 bytes parent folder | download | duplicates (2)
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
=== tests/cases/conformance/types/members/objectTypeWithNumericProperty.ts ===
// no errors here

class C {
>C : Symbol(C, Decl(objectTypeWithNumericProperty.ts, 0, 0))

    1: number;
    1.1: string;
}

var c: C;
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>C : Symbol(C, Decl(objectTypeWithNumericProperty.ts, 0, 0))

var r1 = c[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>1 : Symbol(C[1], Decl(objectTypeWithNumericProperty.ts, 2, 9))

var r2 = c[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>1.1 : Symbol(C[1.1], Decl(objectTypeWithNumericProperty.ts, 3, 14))

var r3 = c['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>'1' : Symbol(C[1], Decl(objectTypeWithNumericProperty.ts, 2, 9))

var r4 = c['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>c : Symbol(c, Decl(objectTypeWithNumericProperty.ts, 7, 3))
>'1.1' : Symbol(C[1.1], Decl(objectTypeWithNumericProperty.ts, 3, 14))

interface I {
>I : Symbol(I, Decl(objectTypeWithNumericProperty.ts, 11, 18))

    1: number;
    1.1: string;
}

var i: I;
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>I : Symbol(I, Decl(objectTypeWithNumericProperty.ts, 11, 18))

var r1 = i[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>1 : Symbol(I[1], Decl(objectTypeWithNumericProperty.ts, 13, 13))

var r2 = i[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>1.1 : Symbol(I[1.1], Decl(objectTypeWithNumericProperty.ts, 14, 14))

var r3 = i['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>'1' : Symbol(I[1], Decl(objectTypeWithNumericProperty.ts, 13, 13))

var r4 = i['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>i : Symbol(i, Decl(objectTypeWithNumericProperty.ts, 18, 3))
>'1.1' : Symbol(I[1.1], Decl(objectTypeWithNumericProperty.ts, 14, 14))

var a: {
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))

    1: number;
    1.1: string;
}

var r1 = a[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))
>1 : Symbol(1, Decl(objectTypeWithNumericProperty.ts, 24, 8))

var r2 = a[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))
>1.1 : Symbol(1.1, Decl(objectTypeWithNumericProperty.ts, 25, 14))

var r3 = a['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))
>'1' : Symbol(1, Decl(objectTypeWithNumericProperty.ts, 24, 8))

var r4 = a['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>a : Symbol(a, Decl(objectTypeWithNumericProperty.ts, 24, 3))
>'1.1' : Symbol(1.1, Decl(objectTypeWithNumericProperty.ts, 25, 14))

var b = {
>b : Symbol(b, Decl(objectTypeWithNumericProperty.ts, 34, 3))

    1: 1,
    1.1: ""
}

var r1 = b[1];
>r1 : Symbol(r1, Decl(objectTypeWithNumericProperty.ts, 8, 3), Decl(objectTypeWithNumericProperty.ts, 19, 3), Decl(objectTypeWithNumericProperty.ts, 29, 3), Decl(objectTypeWithNumericProperty.ts, 39, 3))
>b : Symbol(b, Decl(objectTypeWithNumericProperty.ts, 34, 3))
>1 : Symbol(1, Decl(objectTypeWithNumericProperty.ts, 34, 9))

var r2 = b[1.1];
>r2 : Symbol(r2, Decl(objectTypeWithNumericProperty.ts, 9, 3), Decl(objectTypeWithNumericProperty.ts, 20, 3), Decl(objectTypeWithNumericProperty.ts, 30, 3), Decl(objectTypeWithNumericProperty.ts, 40, 3))
>b : Symbol(b, Decl(objectTypeWithNumericProperty.ts, 34, 3))
>1.1 : Symbol(1.1, Decl(objectTypeWithNumericProperty.ts, 35, 9))

var r3 = b['1'];
>r3 : Symbol(r3, Decl(objectTypeWithNumericProperty.ts, 10, 3), Decl(objectTypeWithNumericProperty.ts, 21, 3), Decl(objectTypeWithNumericProperty.ts, 31, 3), Decl(objectTypeWithNumericProperty.ts, 41, 3))
>b : Symbol(b, Decl(objectTypeWithNumericProperty.ts, 34, 3))
>'1' : Symbol(1, Decl(objectTypeWithNumericProperty.ts, 34, 9))

var r4 = b['1.1'];
>r4 : Symbol(r4, Decl(objectTypeWithNumericProperty.ts, 11, 3), Decl(objectTypeWithNumericProperty.ts, 22, 3), Decl(objectTypeWithNumericProperty.ts, 32, 3), Decl(objectTypeWithNumericProperty.ts, 42, 3))
>b : Symbol(b, Decl(objectTypeWithNumericProperty.ts, 34, 3))
>'1.1' : Symbol(1.1, Decl(objectTypeWithNumericProperty.ts, 35, 9))