File: bpSpanDestructuringParameterArrayBindingPatternDefaultValues.baseline

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (196 lines) | stat: -rw-r--r-- 8,917 bytes parent folder | download | duplicates (7)
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196

1  >declare var console: {

    ~~~~~~~~~~~~~~~~~~~~~~~                       => Pos: (0 to 22)  SpanInfo: undefined
--------------------------------
2  >    log(msg: any): void;

    ~~~~~~~~~~~~~~~~~~~~~~~~~                     => Pos: (23 to 47)  SpanInfo: undefined
--------------------------------
3  >}

    ~~                                            => Pos: (48 to 49)  SpanInfo: undefined
--------------------------------
4  >type Robot = [number, string, string];

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       => Pos: (50 to 88)  SpanInfo: undefined
--------------------------------
5  >var robotA: Robot = [1, "mower", "mowing"];

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  => Pos: (89 to 132)  SpanInfo: {"start":89,"length":42}
    >var robotA: Robot = [1, "mower", "mowing"]
    >:=> (line 5, col 0) to (line 5, col 42)
--------------------------------
6  >function foo1([, nameA = "noName"]: Robot = [-1, "name", "skill"]) {

    ~~~~~~~~~~~~~~                                => Pos: (133 to 146)  SpanInfo: {"start":206,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
6  >function foo1([, nameA = "noName"]: Robot = [-1, "name", "skill"]) {

                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (147 to 198)  SpanInfo: {"start":150,"length":16}
    >nameA = "noName"
    >:=> (line 6, col 17) to (line 6, col 33)
6  >function foo1([, nameA = "noName"]: Robot = [-1, "name", "skill"]) {

                                                                      ~~~=> Pos: (199 to 201)  SpanInfo: {"start":206,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
--------------------------------
7  >    console.log(nameA);

    ~~~~~~~~~~~~~~~~~~~~~~~~                      => Pos: (202 to 225)  SpanInfo: {"start":206,"length":18}
    >console.log(nameA)
    >:=> (line 7, col 4) to (line 7, col 22)
--------------------------------
8  >}

    ~~                                            => Pos: (226 to 227)  SpanInfo: {"start":226,"length":1}
    >}
    >:=> (line 8, col 0) to (line 8, col 1)
--------------------------------
9  >function foo2([numberB = -1]: Robot = [-1, "name", "skill"]) {

    ~~~~~~~~~~~~~~                                => Pos: (228 to 241)  SpanInfo: {"start":295,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
9  >function foo2([numberB = -1]: Robot = [-1, "name", "skill"]) {

                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (242 to 287)  SpanInfo: {"start":243,"length":12}
    >numberB = -1
    >:=> (line 9, col 15) to (line 9, col 27)
9  >function foo2([numberB = -1]: Robot = [-1, "name", "skill"]) {

                                                                ~~~=> Pos: (288 to 290)  SpanInfo: {"start":295,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
--------------------------------
10 >    console.log(numberB);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~                    => Pos: (291 to 316)  SpanInfo: {"start":295,"length":20}
    >console.log(numberB)
    >:=> (line 10, col 4) to (line 10, col 24)
--------------------------------
11 >}

    ~~                                            => Pos: (317 to 318)  SpanInfo: {"start":317,"length":1}
    >}
    >:=> (line 11, col 0) to (line 11, col 1)
--------------------------------
12 >function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) {

    ~~~~~~~~~~~~~~                                => Pos: (319 to 332)  SpanInfo: {"start":423,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
12 >function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) {

                  ~~~~~~~~~~~~~~~                 => Pos: (333 to 347)  SpanInfo: {"start":334,"length":13}
    >numberA2 = -1
    >:=> (line 12, col 15) to (line 12, col 28)
12 >function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) {

                                 ~~~~~~~~~~~~~~~~~=> Pos: (348 to 364)  SpanInfo: {"start":349,"length":15}
    >nameA2 = "name"
    >:=> (line 12, col 30) to (line 12, col 45)
12 >function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) {

                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (365 to 415)  SpanInfo: {"start":366,"length":17}
    >skillA2 = "skill"
    >:=> (line 12, col 47) to (line 12, col 64)
12 >function foo3([numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"]) {

                                                                                                     ~~~=> Pos: (416 to 418)  SpanInfo: {"start":423,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
--------------------------------
13 >    console.log(nameA2);

    ~~~~~~~~~~~~~~~~~~~~~~~~~                     => Pos: (419 to 443)  SpanInfo: {"start":423,"length":19}
    >console.log(nameA2)
    >:=> (line 13, col 4) to (line 13, col 23)
--------------------------------
14 >}

    ~~                                            => Pos: (444 to 445)  SpanInfo: {"start":444,"length":1}
    >}
    >:=> (line 14, col 0) to (line 14, col 1)
--------------------------------
15 >function foo4([numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"]) {

    ~~~~~~~~~~~~~~                                => Pos: (446 to 459)  SpanInfo: {"start":529,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
15 >function foo4([numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"]) {

                  ~~~~~~~~~~~~~~~                 => Pos: (460 to 474)  SpanInfo: {"start":461,"length":13}
    >numberA3 = -1
    >:=> (line 15, col 15) to (line 15, col 28)
15 >function foo4([numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"]) {

                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (475 to 521)  SpanInfo: {"start":476,"length":13}
    >...robotAInfo
    >:=> (line 15, col 30) to (line 15, col 43)
15 >function foo4([numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"]) {

                                                                                ~~~=> Pos: (522 to 524)  SpanInfo: {"start":529,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
--------------------------------
16 >    console.log(robotAInfo);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 => Pos: (525 to 553)  SpanInfo: {"start":529,"length":23}
    >console.log(robotAInfo)
    >:=> (line 16, col 4) to (line 16, col 27)
--------------------------------
17 >}

    ~~                                            => Pos: (554 to 555)  SpanInfo: {"start":554,"length":1}
    >}
    >:=> (line 17, col 0) to (line 17, col 1)
--------------------------------
18 >foo1(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (556 to 569)  SpanInfo: {"start":556,"length":12}
    >foo1(robotA)
    >:=> (line 18, col 0) to (line 18, col 12)
--------------------------------
19 >foo1([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (570 to 603)  SpanInfo: {"start":570,"length":32}
    >foo1([2, "trimmer", "trimming"])
    >:=> (line 19, col 0) to (line 19, col 32)
--------------------------------
20 >foo2(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (604 to 617)  SpanInfo: {"start":604,"length":12}
    >foo2(robotA)
    >:=> (line 20, col 0) to (line 20, col 12)
--------------------------------
21 >foo2([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (618 to 651)  SpanInfo: {"start":618,"length":32}
    >foo2([2, "trimmer", "trimming"])
    >:=> (line 21, col 0) to (line 21, col 32)
--------------------------------
22 >foo3(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (652 to 665)  SpanInfo: {"start":652,"length":12}
    >foo3(robotA)
    >:=> (line 22, col 0) to (line 22, col 12)
--------------------------------
23 >foo3([2, "trimmer", "trimming"]);

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            => Pos: (666 to 699)  SpanInfo: {"start":666,"length":32}
    >foo3([2, "trimmer", "trimming"])
    >:=> (line 23, col 0) to (line 23, col 32)
--------------------------------
24 >foo4(robotA);

    ~~~~~~~~~~~~~~                                => Pos: (700 to 713)  SpanInfo: {"start":700,"length":12}
    >foo4(robotA)
    >:=> (line 24, col 0) to (line 24, col 12)
--------------------------------
25 >foo4([2, "trimmer", "trimming"]);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             => Pos: (714 to 746)  SpanInfo: {"start":714,"length":32}
    >foo4([2, "trimmer", "trimming"])
    >:=> (line 25, col 0) to (line 25, col 32)