mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Test cases for breakpoint in destructuring of For Initializers
This commit is contained in:
parent
4e702e5771
commit
39dbad862c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,653 @@
|
||||
|
||||
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 >interface Robot {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (50 to 67) SpanInfo: undefined
|
||||
--------------------------------
|
||||
5 > name: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (68 to 85) SpanInfo: undefined
|
||||
--------------------------------
|
||||
6 > skill: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~ => Pos: (86 to 104) SpanInfo: undefined
|
||||
--------------------------------
|
||||
7 >}
|
||||
|
||||
~~ => Pos: (105 to 106) SpanInfo: undefined
|
||||
--------------------------------
|
||||
8 >interface MultiRobot {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (107 to 129) SpanInfo: undefined
|
||||
--------------------------------
|
||||
9 > name: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (130 to 147) SpanInfo: undefined
|
||||
--------------------------------
|
||||
10 > skills: {
|
||||
|
||||
~~~~~~~~~~~~~~ => Pos: (148 to 161) SpanInfo: undefined
|
||||
--------------------------------
|
||||
11 > primary: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (162 to 186) SpanInfo: undefined
|
||||
--------------------------------
|
||||
12 > secondary: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (187 to 213) SpanInfo: undefined
|
||||
--------------------------------
|
||||
13 > };
|
||||
|
||||
~~~~~~~ => Pos: (214 to 220) SpanInfo: undefined
|
||||
--------------------------------
|
||||
14 >}
|
||||
|
||||
~~ => Pos: (221 to 222) SpanInfo: undefined
|
||||
--------------------------------
|
||||
15 >let robot: Robot = { name: "mower", skill: "mowing" };
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (223 to 277) SpanInfo: {"start":223,"length":53}
|
||||
>let robot: Robot = { name: "mower", skill: "mowing" }
|
||||
>:=> (line 15, col 0) to (line 15, col 53)
|
||||
--------------------------------
|
||||
16 >let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (278 to 375) SpanInfo: {"start":278,"length":96}
|
||||
>let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }
|
||||
>:=> (line 16, col 0) to (line 16, col 96)
|
||||
--------------------------------
|
||||
17 >function getRobot() {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (376 to 397) SpanInfo: {"start":402,"length":12}
|
||||
>return robot
|
||||
>:=> (line 18, col 4) to (line 18, col 16)
|
||||
--------------------------------
|
||||
18 > return robot;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (398 to 415) SpanInfo: {"start":402,"length":12}
|
||||
>return robot
|
||||
>:=> (line 18, col 4) to (line 18, col 16)
|
||||
--------------------------------
|
||||
19 >}
|
||||
|
||||
~~ => Pos: (416 to 417) SpanInfo: {"start":416,"length":1}
|
||||
>}
|
||||
>:=> (line 19, col 0) to (line 19, col 1)
|
||||
--------------------------------
|
||||
20 >function getMultiRobot() {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (418 to 444) SpanInfo: {"start":449,"length":17}
|
||||
>return multiRobot
|
||||
>:=> (line 21, col 4) to (line 21, col 21)
|
||||
--------------------------------
|
||||
21 > return multiRobot;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (445 to 467) SpanInfo: {"start":449,"length":17}
|
||||
>return multiRobot
|
||||
>:=> (line 21, col 4) to (line 21, col 21)
|
||||
--------------------------------
|
||||
22 >}
|
||||
|
||||
~~ => Pos: (468 to 469) SpanInfo: {"start":468,"length":1}
|
||||
>}
|
||||
>:=> (line 22, col 0) to (line 22, col 1)
|
||||
--------------------------------
|
||||
23 >for (let {name: nameA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (470 to 501) SpanInfo: {"start":480,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 23, col 10) to (line 23, col 21)
|
||||
23 >for (let {name: nameA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (502 to 508) SpanInfo: {"start":503,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 23, col 33) to (line 23, col 38)
|
||||
23 >for (let {name: nameA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (509 to 515) SpanInfo: {"start":510,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 23, col 40) to (line 23, col 45)
|
||||
23 >for (let {name: nameA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (516 to 523) SpanInfo: {"start":517,"length":3}
|
||||
>i++
|
||||
>:=> (line 23, col 47) to (line 23, col 50)
|
||||
--------------------------------
|
||||
24 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (524 to 547) SpanInfo: {"start":528,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 24, col 4) to (line 24, col 22)
|
||||
--------------------------------
|
||||
25 >}
|
||||
|
||||
~~ => Pos: (548 to 549) SpanInfo: {"start":528,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 24, col 4) to (line 24, col 22)
|
||||
--------------------------------
|
||||
26 >for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (550 to 574) SpanInfo: {"start":560,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 26, col 10) to (line 26, col 21)
|
||||
26 >for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~ => Pos: (575 to 586) SpanInfo: {"start":576,"length":10}
|
||||
>getRobot()
|
||||
>:=> (line 26, col 26) to (line 26, col 36)
|
||||
26 >for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (587 to 593) SpanInfo: {"start":588,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 26, col 38) to (line 26, col 43)
|
||||
26 >for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (594 to 600) SpanInfo: {"start":595,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 26, col 45) to (line 26, col 50)
|
||||
26 >for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (601 to 608) SpanInfo: {"start":602,"length":3}
|
||||
>i++
|
||||
>:=> (line 26, col 52) to (line 26, col 55)
|
||||
--------------------------------
|
||||
27 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (609 to 632) SpanInfo: {"start":613,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 27, col 4) to (line 27, col 22)
|
||||
--------------------------------
|
||||
28 >}
|
||||
|
||||
~~ => Pos: (633 to 634) SpanInfo: {"start":613,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 27, col 4) to (line 27, col 22)
|
||||
--------------------------------
|
||||
29 >for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (635 to 706) SpanInfo: {"start":645,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 29, col 10) to (line 29, col 21)
|
||||
29 >for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (707 to 713) SpanInfo: {"start":708,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 29, col 73) to (line 29, col 78)
|
||||
29 >for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (714 to 720) SpanInfo: {"start":715,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 29, col 80) to (line 29, col 85)
|
||||
29 >for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (721 to 728) SpanInfo: {"start":722,"length":3}
|
||||
>i++
|
||||
>:=> (line 29, col 87) to (line 29, col 90)
|
||||
--------------------------------
|
||||
30 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (729 to 752) SpanInfo: {"start":733,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 30, col 4) to (line 30, col 22)
|
||||
--------------------------------
|
||||
31 >}
|
||||
|
||||
~~ => Pos: (753 to 754) SpanInfo: {"start":733,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 30, col 4) to (line 30, col 22)
|
||||
--------------------------------
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (755 to 772) SpanInfo: {"start":766,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 32, col 11) to (line 32, col 63)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~ => Pos: (773 to 793) SpanInfo: {"start":776,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 32, col 21) to (line 32, col 38)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (794 to 817) SpanInfo: {"start":795,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 32, col 40) to (line 32, col 61)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~=> Pos: (818 to 833) SpanInfo: {"start":766,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 32, col 11) to (line 32, col 63)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (834 to 840) SpanInfo: {"start":835,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 32, col 80) to (line 32, col 85)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (841 to 847) SpanInfo: {"start":842,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 32, col 87) to (line 32, col 92)
|
||||
32 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (848 to 855) SpanInfo: {"start":849,"length":3}
|
||||
>i++
|
||||
>:=> (line 32, col 94) to (line 32, col 97)
|
||||
--------------------------------
|
||||
33 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (856 to 882) SpanInfo: {"start":860,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 33, col 4) to (line 33, col 25)
|
||||
--------------------------------
|
||||
34 >}
|
||||
|
||||
~~ => Pos: (883 to 884) SpanInfo: {"start":860,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 33, col 4) to (line 33, col 25)
|
||||
--------------------------------
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (885 to 902) SpanInfo: {"start":896,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 35, col 11) to (line 35, col 63)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~ => Pos: (903 to 923) SpanInfo: {"start":906,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 35, col 21) to (line 35, col 38)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (924 to 947) SpanInfo: {"start":925,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 35, col 40) to (line 35, col 61)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~=> Pos: (948 to 951) SpanInfo: {"start":896,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 35, col 11) to (line 35, col 63)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~=> Pos: (952 to 968) SpanInfo: {"start":953,"length":15}
|
||||
>getMultiRobot()
|
||||
>:=> (line 35, col 68) to (line 35, col 83)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (969 to 975) SpanInfo: {"start":970,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 35, col 85) to (line 35, col 90)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (976 to 982) SpanInfo: {"start":977,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 35, col 92) to (line 35, col 97)
|
||||
35 >for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (983 to 990) SpanInfo: {"start":984,"length":3}
|
||||
>i++
|
||||
>:=> (line 35, col 99) to (line 35, col 102)
|
||||
--------------------------------
|
||||
36 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (991 to 1017) SpanInfo: {"start":995,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 36, col 4) to (line 36, col 25)
|
||||
--------------------------------
|
||||
37 >}
|
||||
|
||||
~~ => Pos: (1018 to 1019) SpanInfo: {"start":995,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 36, col 4) to (line 36, col 25)
|
||||
--------------------------------
|
||||
38 >for (let { skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (1020 to 1037) SpanInfo: {"start":1031,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 38, col 11) to (line 38, col 63)
|
||||
38 >for (let { skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~ => Pos: (1038 to 1058) SpanInfo: {"start":1041,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 38, col 21) to (line 38, col 38)
|
||||
38 >for (let { skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1059 to 1082) SpanInfo: {"start":1060,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 38, col 40) to (line 38, col 61)
|
||||
38 >for (let { skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~=> Pos: (1083 to 1087) SpanInfo: {"start":1031,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 38, col 11) to (line 38, col 63)
|
||||
--------------------------------
|
||||
39 > <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1088 to 1178) SpanInfo: {"start":1031,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 38, col 11) to (line 38, col 63)
|
||||
--------------------------------
|
||||
40 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~ => Pos: (1179 to 1188) SpanInfo: {"start":1183,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 40, col 4) to (line 40, col 9)
|
||||
40 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (1189 to 1195) SpanInfo: {"start":1190,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 40, col 11) to (line 40, col 16)
|
||||
40 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (1196 to 1203) SpanInfo: {"start":1197,"length":3}
|
||||
>i++
|
||||
>:=> (line 40, col 18) to (line 40, col 21)
|
||||
--------------------------------
|
||||
41 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1204 to 1230) SpanInfo: {"start":1208,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 41, col 4) to (line 41, col 25)
|
||||
--------------------------------
|
||||
42 >}
|
||||
|
||||
~~ => Pos: (1231 to 1232) SpanInfo: {"start":1208,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 41, col 4) to (line 41, col 25)
|
||||
--------------------------------
|
||||
43 >for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1233 to 1254) SpanInfo: {"start":1243,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 43, col 10) to (line 43, col 21)
|
||||
43 >for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1255 to 1279) SpanInfo: {"start":1256,"length":13}
|
||||
>skill: skillA
|
||||
>:=> (line 43, col 23) to (line 43, col 36)
|
||||
43 >for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1280 to 1286) SpanInfo: {"start":1281,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 43, col 48) to (line 43, col 53)
|
||||
43 >for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1287 to 1293) SpanInfo: {"start":1288,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 43, col 55) to (line 43, col 60)
|
||||
43 >for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1294 to 1301) SpanInfo: {"start":1295,"length":3}
|
||||
>i++
|
||||
>:=> (line 43, col 62) to (line 43, col 65)
|
||||
--------------------------------
|
||||
44 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1302 to 1325) SpanInfo: {"start":1306,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 44, col 4) to (line 44, col 22)
|
||||
--------------------------------
|
||||
45 >}
|
||||
|
||||
~~ => Pos: (1326 to 1327) SpanInfo: {"start":1306,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 44, col 4) to (line 44, col 22)
|
||||
--------------------------------
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1328 to 1349) SpanInfo: {"start":1338,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 46, col 10) to (line 46, col 21)
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (1350 to 1367) SpanInfo: {"start":1351,"length":13}
|
||||
>skill: skillA
|
||||
>:=> (line 46, col 23) to (line 46, col 36)
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~=> Pos: (1368 to 1379) SpanInfo: {"start":1369,"length":10}
|
||||
>getRobot()
|
||||
>:=> (line 46, col 41) to (line 46, col 51)
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1380 to 1386) SpanInfo: {"start":1381,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 46, col 53) to (line 46, col 58)
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1387 to 1393) SpanInfo: {"start":1388,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 46, col 60) to (line 46, col 65)
|
||||
46 >for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1394 to 1401) SpanInfo: {"start":1395,"length":3}
|
||||
>i++
|
||||
>:=> (line 46, col 67) to (line 46, col 70)
|
||||
--------------------------------
|
||||
47 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1402 to 1425) SpanInfo: {"start":1406,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 47, col 4) to (line 47, col 22)
|
||||
--------------------------------
|
||||
48 >}
|
||||
|
||||
~~ => Pos: (1426 to 1427) SpanInfo: {"start":1406,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 47, col 4) to (line 47, col 22)
|
||||
--------------------------------
|
||||
49 >for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1428 to 1449) SpanInfo: {"start":1438,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 49, col 10) to (line 49, col 21)
|
||||
49 >for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1450 to 1514) SpanInfo: {"start":1451,"length":13}
|
||||
>skill: skillA
|
||||
>:=> (line 49, col 23) to (line 49, col 36)
|
||||
49 >for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1515 to 1521) SpanInfo: {"start":1516,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 49, col 88) to (line 49, col 93)
|
||||
49 >for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1522 to 1528) SpanInfo: {"start":1523,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 49, col 95) to (line 49, col 100)
|
||||
49 >for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1529 to 1536) SpanInfo: {"start":1530,"length":3}
|
||||
>i++
|
||||
>:=> (line 49, col 102) to (line 49, col 105)
|
||||
--------------------------------
|
||||
50 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1537 to 1560) SpanInfo: {"start":1541,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 50, col 4) to (line 50, col 22)
|
||||
--------------------------------
|
||||
51 >}
|
||||
|
||||
~~ => Pos: (1561 to 1562) SpanInfo: {"start":1541,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 50, col 4) to (line 50, col 22)
|
||||
--------------------------------
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1563 to 1584) SpanInfo: {"start":1573,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 52, col 10) to (line 52, col 21)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (1585 to 1592) SpanInfo: {"start":1586,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 52, col 23) to (line 52, col 75)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~=> Pos: (1593 to 1613) SpanInfo: {"start":1596,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 52, col 33) to (line 52, col 50)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1614 to 1637) SpanInfo: {"start":1615,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 52, col 52) to (line 52, col 73)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~=> Pos: (1638 to 1653) SpanInfo: {"start":1586,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 52, col 23) to (line 52, col 75)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1654 to 1660) SpanInfo: {"start":1655,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 52, col 92) to (line 52, col 97)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1661 to 1667) SpanInfo: {"start":1662,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 52, col 99) to (line 52, col 104)
|
||||
52 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1668 to 1675) SpanInfo: {"start":1669,"length":3}
|
||||
>i++
|
||||
>:=> (line 52, col 106) to (line 52, col 109)
|
||||
--------------------------------
|
||||
53 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1676 to 1702) SpanInfo: {"start":1680,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 53, col 4) to (line 53, col 25)
|
||||
--------------------------------
|
||||
54 >}
|
||||
|
||||
~~ => Pos: (1703 to 1704) SpanInfo: {"start":1680,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 53, col 4) to (line 53, col 25)
|
||||
--------------------------------
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1705 to 1726) SpanInfo: {"start":1715,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 55, col 10) to (line 55, col 21)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (1727 to 1734) SpanInfo: {"start":1728,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 55, col 23) to (line 55, col 75)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~=> Pos: (1735 to 1755) SpanInfo: {"start":1738,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 55, col 33) to (line 55, col 50)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1756 to 1779) SpanInfo: {"start":1757,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 55, col 52) to (line 55, col 73)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~=> Pos: (1780 to 1783) SpanInfo: {"start":1728,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 55, col 23) to (line 55, col 75)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~=> Pos: (1784 to 1800) SpanInfo: {"start":1785,"length":15}
|
||||
>getMultiRobot()
|
||||
>:=> (line 55, col 80) to (line 55, col 95)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1801 to 1807) SpanInfo: {"start":1802,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 55, col 97) to (line 55, col 102)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1808 to 1814) SpanInfo: {"start":1809,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 55, col 104) to (line 55, col 109)
|
||||
55 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1815 to 1822) SpanInfo: {"start":1816,"length":3}
|
||||
>i++
|
||||
>:=> (line 55, col 111) to (line 55, col 114)
|
||||
--------------------------------
|
||||
56 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1823 to 1849) SpanInfo: {"start":1827,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 56, col 4) to (line 56, col 25)
|
||||
--------------------------------
|
||||
57 >}
|
||||
|
||||
~~ => Pos: (1850 to 1851) SpanInfo: {"start":1827,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 56, col 4) to (line 56, col 25)
|
||||
--------------------------------
|
||||
58 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1852 to 1873) SpanInfo: {"start":1862,"length":11}
|
||||
>name: nameA
|
||||
>:=> (line 58, col 10) to (line 58, col 21)
|
||||
58 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~ => Pos: (1874 to 1881) SpanInfo: {"start":1875,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 58, col 23) to (line 58, col 75)
|
||||
58 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~=> Pos: (1882 to 1902) SpanInfo: {"start":1885,"length":17}
|
||||
>primary: primaryA
|
||||
>:=> (line 58, col 33) to (line 58, col 50)
|
||||
58 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1903 to 1926) SpanInfo: {"start":1904,"length":21}
|
||||
>secondary: secondaryA
|
||||
>:=> (line 58, col 52) to (line 58, col 73)
|
||||
58 >for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
|
||||
~~~~~=> Pos: (1927 to 1931) SpanInfo: {"start":1875,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 58, col 23) to (line 58, col 75)
|
||||
--------------------------------
|
||||
59 > <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1932 to 2022) SpanInfo: {"start":1875,"length":52}
|
||||
>skills: { primary: primaryA, secondary: secondaryA }
|
||||
>:=> (line 58, col 23) to (line 58, col 75)
|
||||
--------------------------------
|
||||
60 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~ => Pos: (2023 to 2032) SpanInfo: {"start":2027,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 60, col 4) to (line 60, col 9)
|
||||
60 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2033 to 2039) SpanInfo: {"start":2034,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 60, col 11) to (line 60, col 16)
|
||||
60 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (2040 to 2047) SpanInfo: {"start":2041,"length":3}
|
||||
>i++
|
||||
>:=> (line 60, col 18) to (line 60, col 21)
|
||||
--------------------------------
|
||||
61 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2048 to 2074) SpanInfo: {"start":2052,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 61, col 4) to (line 61, col 25)
|
||||
--------------------------------
|
||||
62 >}
|
||||
~ => Pos: (2075 to 2075) SpanInfo: {"start":2052,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 61, col 4) to (line 61, col 25)
|
||||
@ -0,0 +1,857 @@
|
||||
|
||||
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 >interface Robot {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (50 to 67) SpanInfo: undefined
|
||||
--------------------------------
|
||||
5 > name: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (68 to 85) SpanInfo: undefined
|
||||
--------------------------------
|
||||
6 > skill: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~ => Pos: (86 to 104) SpanInfo: undefined
|
||||
--------------------------------
|
||||
7 >}
|
||||
|
||||
~~ => Pos: (105 to 106) SpanInfo: undefined
|
||||
--------------------------------
|
||||
8 >interface MultiRobot {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (107 to 129) SpanInfo: undefined
|
||||
--------------------------------
|
||||
9 > name: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (130 to 147) SpanInfo: undefined
|
||||
--------------------------------
|
||||
10 > skills: {
|
||||
|
||||
~~~~~~~~~~~~~~ => Pos: (148 to 161) SpanInfo: undefined
|
||||
--------------------------------
|
||||
11 > primary?: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (162 to 187) SpanInfo: undefined
|
||||
--------------------------------
|
||||
12 > secondary?: string;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (188 to 215) SpanInfo: undefined
|
||||
--------------------------------
|
||||
13 > };
|
||||
|
||||
~~~~~~~ => Pos: (216 to 222) SpanInfo: undefined
|
||||
--------------------------------
|
||||
14 >}
|
||||
|
||||
~~ => Pos: (223 to 224) SpanInfo: undefined
|
||||
--------------------------------
|
||||
15 >let robot: Robot = { name: "mower", skill: "mowing" };
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (225 to 279) SpanInfo: {"start":225,"length":53}
|
||||
>let robot: Robot = { name: "mower", skill: "mowing" }
|
||||
>:=> (line 15, col 0) to (line 15, col 53)
|
||||
--------------------------------
|
||||
16 >let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (280 to 377) SpanInfo: {"start":280,"length":96}
|
||||
>let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }
|
||||
>:=> (line 16, col 0) to (line 16, col 96)
|
||||
--------------------------------
|
||||
17 >function getRobot() {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~ => Pos: (378 to 399) SpanInfo: {"start":404,"length":12}
|
||||
>return robot
|
||||
>:=> (line 18, col 4) to (line 18, col 16)
|
||||
--------------------------------
|
||||
18 > return robot;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~ => Pos: (400 to 417) SpanInfo: {"start":404,"length":12}
|
||||
>return robot
|
||||
>:=> (line 18, col 4) to (line 18, col 16)
|
||||
--------------------------------
|
||||
19 >}
|
||||
|
||||
~~ => Pos: (418 to 419) SpanInfo: {"start":418,"length":1}
|
||||
>}
|
||||
>:=> (line 19, col 0) to (line 19, col 1)
|
||||
--------------------------------
|
||||
20 >function getMultiRobot() {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (420 to 446) SpanInfo: {"start":451,"length":17}
|
||||
>return multiRobot
|
||||
>:=> (line 21, col 4) to (line 21, col 21)
|
||||
--------------------------------
|
||||
21 > return multiRobot;
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (447 to 469) SpanInfo: {"start":451,"length":17}
|
||||
>return multiRobot
|
||||
>:=> (line 21, col 4) to (line 21, col 21)
|
||||
--------------------------------
|
||||
22 >}
|
||||
|
||||
~~ => Pos: (470 to 471) SpanInfo: {"start":470,"length":1}
|
||||
>}
|
||||
>:=> (line 22, col 0) to (line 22, col 1)
|
||||
--------------------------------
|
||||
23 >for (let {name: nameA= "noName" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (472 to 513) SpanInfo: {"start":482,"length":21}
|
||||
>name: nameA= "noName"
|
||||
>:=> (line 23, col 10) to (line 23, col 31)
|
||||
23 >for (let {name: nameA= "noName" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (514 to 520) SpanInfo: {"start":515,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 23, col 43) to (line 23, col 48)
|
||||
23 >for (let {name: nameA= "noName" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (521 to 527) SpanInfo: {"start":522,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 23, col 50) to (line 23, col 55)
|
||||
23 >for (let {name: nameA= "noName" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (528 to 535) SpanInfo: {"start":529,"length":3}
|
||||
>i++
|
||||
>:=> (line 23, col 57) to (line 23, col 60)
|
||||
--------------------------------
|
||||
24 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (536 to 559) SpanInfo: {"start":540,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 24, col 4) to (line 24, col 22)
|
||||
--------------------------------
|
||||
25 >}
|
||||
|
||||
~~ => Pos: (560 to 561) SpanInfo: {"start":540,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 24, col 4) to (line 24, col 22)
|
||||
--------------------------------
|
||||
26 >for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (562 to 597) SpanInfo: {"start":572,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 26, col 10) to (line 26, col 32)
|
||||
26 >for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~=> Pos: (598 to 609) SpanInfo: {"start":599,"length":10}
|
||||
>getRobot()
|
||||
>:=> (line 26, col 37) to (line 26, col 47)
|
||||
26 >for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (610 to 616) SpanInfo: {"start":611,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 26, col 49) to (line 26, col 54)
|
||||
26 >for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (617 to 623) SpanInfo: {"start":618,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 26, col 56) to (line 26, col 61)
|
||||
26 >for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (624 to 631) SpanInfo: {"start":625,"length":3}
|
||||
>i++
|
||||
>:=> (line 26, col 63) to (line 26, col 66)
|
||||
--------------------------------
|
||||
27 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (632 to 655) SpanInfo: {"start":636,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 27, col 4) to (line 27, col 22)
|
||||
--------------------------------
|
||||
28 >}
|
||||
|
||||
~~ => Pos: (656 to 657) SpanInfo: {"start":636,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 27, col 4) to (line 27, col 22)
|
||||
--------------------------------
|
||||
29 >for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (658 to 740) SpanInfo: {"start":668,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 29, col 10) to (line 29, col 32)
|
||||
29 >for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (741 to 747) SpanInfo: {"start":742,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 29, col 84) to (line 29, col 89)
|
||||
29 >for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (748 to 754) SpanInfo: {"start":749,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 29, col 91) to (line 29, col 96)
|
||||
29 >for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (755 to 762) SpanInfo: {"start":756,"length":3}
|
||||
>i++
|
||||
>:=> (line 29, col 98) to (line 29, col 101)
|
||||
--------------------------------
|
||||
30 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (763 to 786) SpanInfo: {"start":767,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 30, col 4) to (line 30, col 22)
|
||||
--------------------------------
|
||||
31 >}
|
||||
|
||||
~~ => Pos: (787 to 788) SpanInfo: {"start":767,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 30, col 4) to (line 30, col 22)
|
||||
--------------------------------
|
||||
32 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (789 to 799) SpanInfo: {"start":804,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 33, col 4) to (line 36, col 46)
|
||||
--------------------------------
|
||||
33 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (800 to 810) SpanInfo: {"start":804,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 33, col 4) to (line 36, col 46)
|
||||
33 > skills: {
|
||||
|
||||
~~~ => Pos: (811 to 813) SpanInfo: {"start":822,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 34, col 8) to (line 34, col 37)
|
||||
--------------------------------
|
||||
34 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (814 to 852) SpanInfo: {"start":822,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 34, col 8) to (line 34, col 37)
|
||||
--------------------------------
|
||||
35 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (853 to 896) SpanInfo: {"start":861,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 35, col 8) to (line 35, col 43)
|
||||
--------------------------------
|
||||
36 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (897 to 901) SpanInfo: {"start":861,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 35, col 8) to (line 35, col 43)
|
||||
36 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (902 to 943) SpanInfo: {"start":804,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 33, col 4) to (line 36, col 46)
|
||||
--------------------------------
|
||||
37 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~ => Pos: (944 to 958) SpanInfo: {"start":804,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 33, col 4) to (line 36, col 46)
|
||||
37 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (959 to 965) SpanInfo: {"start":960,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 37, col 16) to (line 37, col 21)
|
||||
37 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (966 to 972) SpanInfo: {"start":967,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 37, col 23) to (line 37, col 28)
|
||||
37 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (973 to 980) SpanInfo: {"start":974,"length":3}
|
||||
>i++
|
||||
>:=> (line 37, col 30) to (line 37, col 33)
|
||||
--------------------------------
|
||||
38 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (981 to 1007) SpanInfo: {"start":985,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 38, col 4) to (line 38, col 25)
|
||||
--------------------------------
|
||||
39 >}
|
||||
|
||||
~~ => Pos: (1008 to 1009) SpanInfo: {"start":985,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 38, col 4) to (line 38, col 25)
|
||||
--------------------------------
|
||||
40 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1010 to 1020) SpanInfo: {"start":1025,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 41, col 4) to (line 44, col 46)
|
||||
--------------------------------
|
||||
41 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1021 to 1031) SpanInfo: {"start":1025,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 41, col 4) to (line 44, col 46)
|
||||
41 > skills: {
|
||||
|
||||
~~~ => Pos: (1032 to 1034) SpanInfo: {"start":1043,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 42, col 8) to (line 42, col 37)
|
||||
--------------------------------
|
||||
42 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1035 to 1073) SpanInfo: {"start":1043,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 42, col 8) to (line 42, col 37)
|
||||
--------------------------------
|
||||
43 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1074 to 1117) SpanInfo: {"start":1082,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 43, col 8) to (line 43, col 43)
|
||||
--------------------------------
|
||||
44 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (1118 to 1122) SpanInfo: {"start":1082,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 43, col 8) to (line 43, col 43)
|
||||
44 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1123 to 1164) SpanInfo: {"start":1025,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 41, col 4) to (line 44, col 46)
|
||||
--------------------------------
|
||||
45 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~ => Pos: (1165 to 1167) SpanInfo: {"start":1025,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 41, col 4) to (line 44, col 46)
|
||||
45 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~ => Pos: (1168 to 1184) SpanInfo: {"start":1169,"length":15}
|
||||
>getMultiRobot()
|
||||
>:=> (line 45, col 4) to (line 45, col 19)
|
||||
45 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (1185 to 1191) SpanInfo: {"start":1186,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 45, col 21) to (line 45, col 26)
|
||||
45 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (1192 to 1198) SpanInfo: {"start":1193,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 45, col 28) to (line 45, col 33)
|
||||
45 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (1199 to 1206) SpanInfo: {"start":1200,"length":3}
|
||||
>i++
|
||||
>:=> (line 45, col 35) to (line 45, col 38)
|
||||
--------------------------------
|
||||
46 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1207 to 1233) SpanInfo: {"start":1211,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 46, col 4) to (line 46, col 25)
|
||||
--------------------------------
|
||||
47 >}
|
||||
|
||||
~~ => Pos: (1234 to 1235) SpanInfo: {"start":1211,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 46, col 4) to (line 46, col 25)
|
||||
--------------------------------
|
||||
48 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1236 to 1246) SpanInfo: {"start":1251,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 49, col 4) to (line 52, col 46)
|
||||
--------------------------------
|
||||
49 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1247 to 1257) SpanInfo: {"start":1251,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 49, col 4) to (line 52, col 46)
|
||||
49 > skills: {
|
||||
|
||||
~~~ => Pos: (1258 to 1260) SpanInfo: {"start":1269,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 50, col 8) to (line 50, col 37)
|
||||
--------------------------------
|
||||
50 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1261 to 1299) SpanInfo: {"start":1269,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 50, col 8) to (line 50, col 37)
|
||||
--------------------------------
|
||||
51 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1300 to 1343) SpanInfo: {"start":1308,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 51, col 8) to (line 51, col 43)
|
||||
--------------------------------
|
||||
52 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (1344 to 1348) SpanInfo: {"start":1308,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 51, col 8) to (line 51, col 43)
|
||||
52 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1349 to 1390) SpanInfo: {"start":1251,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 49, col 4) to (line 52, col 46)
|
||||
--------------------------------
|
||||
53 >} = <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1391 to 1481) SpanInfo: {"start":1251,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 49, col 4) to (line 52, col 46)
|
||||
--------------------------------
|
||||
54 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~ => Pos: (1482 to 1491) SpanInfo: {"start":1486,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 54, col 4) to (line 54, col 9)
|
||||
54 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (1492 to 1498) SpanInfo: {"start":1493,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 54, col 11) to (line 54, col 16)
|
||||
54 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (1499 to 1506) SpanInfo: {"start":1500,"length":3}
|
||||
>i++
|
||||
>:=> (line 54, col 18) to (line 54, col 21)
|
||||
--------------------------------
|
||||
55 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1507 to 1533) SpanInfo: {"start":1511,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 55, col 4) to (line 55, col 25)
|
||||
--------------------------------
|
||||
56 >}
|
||||
|
||||
~~ => Pos: (1534 to 1535) SpanInfo: {"start":1511,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 55, col 4) to (line 55, col 25)
|
||||
--------------------------------
|
||||
57 >for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1536 to 1568) SpanInfo: {"start":1546,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 57, col 10) to (line 57, col 32)
|
||||
57 >for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1569 to 1603) SpanInfo: {"start":1570,"length":23}
|
||||
>skill: skillA = "skill"
|
||||
>:=> (line 57, col 34) to (line 57, col 57)
|
||||
57 >for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1604 to 1610) SpanInfo: {"start":1605,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 57, col 69) to (line 57, col 74)
|
||||
57 >for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1611 to 1617) SpanInfo: {"start":1612,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 57, col 76) to (line 57, col 81)
|
||||
57 >for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1618 to 1625) SpanInfo: {"start":1619,"length":3}
|
||||
>i++
|
||||
>:=> (line 57, col 83) to (line 57, col 86)
|
||||
--------------------------------
|
||||
58 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1626 to 1649) SpanInfo: {"start":1630,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 58, col 4) to (line 58, col 22)
|
||||
--------------------------------
|
||||
59 >}
|
||||
|
||||
~~ => Pos: (1650 to 1651) SpanInfo: {"start":1630,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 58, col 4) to (line 58, col 22)
|
||||
--------------------------------
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1652 to 1684) SpanInfo: {"start":1662,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 60, col 10) to (line 60, col 32)
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1685 to 1712) SpanInfo: {"start":1686,"length":23}
|
||||
>skill: skillA = "skill"
|
||||
>:=> (line 60, col 34) to (line 60, col 57)
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~=> Pos: (1713 to 1724) SpanInfo: {"start":1714,"length":10}
|
||||
>getRobot()
|
||||
>:=> (line 60, col 62) to (line 60, col 72)
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1725 to 1731) SpanInfo: {"start":1726,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 60, col 74) to (line 60, col 79)
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1732 to 1738) SpanInfo: {"start":1733,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 60, col 81) to (line 60, col 86)
|
||||
60 >for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1739 to 1746) SpanInfo: {"start":1740,"length":3}
|
||||
>i++
|
||||
>:=> (line 60, col 88) to (line 60, col 91)
|
||||
--------------------------------
|
||||
61 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1747 to 1770) SpanInfo: {"start":1751,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 61, col 4) to (line 61, col 22)
|
||||
--------------------------------
|
||||
62 >}
|
||||
|
||||
~~ => Pos: (1771 to 1772) SpanInfo: {"start":1751,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 61, col 4) to (line 61, col 22)
|
||||
--------------------------------
|
||||
63 >for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1773 to 1805) SpanInfo: {"start":1783,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 63, col 10) to (line 63, col 32)
|
||||
63 >for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (1806 to 1880) SpanInfo: {"start":1807,"length":23}
|
||||
>skill: skillA = "skill"
|
||||
>:=> (line 63, col 34) to (line 63, col 57)
|
||||
63 >for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1881 to 1887) SpanInfo: {"start":1882,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 63, col 109) to (line 63, col 114)
|
||||
63 >for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~=> Pos: (1888 to 1894) SpanInfo: {"start":1889,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 63, col 116) to (line 63, col 121)
|
||||
63 >for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~=> Pos: (1895 to 1902) SpanInfo: {"start":1896,"length":3}
|
||||
>i++
|
||||
>:=> (line 63, col 123) to (line 63, col 126)
|
||||
--------------------------------
|
||||
64 > console.log(nameA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1903 to 1926) SpanInfo: {"start":1907,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 64, col 4) to (line 64, col 22)
|
||||
--------------------------------
|
||||
65 >}
|
||||
|
||||
~~ => Pos: (1927 to 1928) SpanInfo: {"start":1907,"length":18}
|
||||
>console.log(nameA)
|
||||
>:=> (line 64, col 4) to (line 64, col 22)
|
||||
--------------------------------
|
||||
66 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1929 to 1939) SpanInfo: {"start":1944,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 67, col 4) to (line 67, col 26)
|
||||
--------------------------------
|
||||
67 > name: nameA = "noName",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1940 to 1967) SpanInfo: {"start":1944,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 67, col 4) to (line 67, col 26)
|
||||
--------------------------------
|
||||
68 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (1968 to 1978) SpanInfo: {"start":1972,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 68, col 4) to (line 71, col 46)
|
||||
68 > skills: {
|
||||
|
||||
~~~ => Pos: (1979 to 1981) SpanInfo: {"start":1990,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 69, col 8) to (line 69, col 37)
|
||||
--------------------------------
|
||||
69 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (1982 to 2020) SpanInfo: {"start":1990,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 69, col 8) to (line 69, col 37)
|
||||
--------------------------------
|
||||
70 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2021 to 2064) SpanInfo: {"start":2029,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 70, col 8) to (line 70, col 43)
|
||||
--------------------------------
|
||||
71 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (2065 to 2069) SpanInfo: {"start":2029,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 70, col 8) to (line 70, col 43)
|
||||
71 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (2070 to 2111) SpanInfo: {"start":1972,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 68, col 4) to (line 71, col 46)
|
||||
--------------------------------
|
||||
72 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~ => Pos: (2112 to 2126) SpanInfo: {"start":1972,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 68, col 4) to (line 71, col 46)
|
||||
72 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2127 to 2133) SpanInfo: {"start":2128,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 72, col 16) to (line 72, col 21)
|
||||
72 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2134 to 2140) SpanInfo: {"start":2135,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 72, col 23) to (line 72, col 28)
|
||||
72 >} = multiRobot, i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (2141 to 2148) SpanInfo: {"start":2142,"length":3}
|
||||
>i++
|
||||
>:=> (line 72, col 30) to (line 72, col 33)
|
||||
--------------------------------
|
||||
73 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2149 to 2175) SpanInfo: {"start":2153,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 73, col 4) to (line 73, col 25)
|
||||
--------------------------------
|
||||
74 >}
|
||||
|
||||
~~ => Pos: (2176 to 2177) SpanInfo: {"start":2153,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 73, col 4) to (line 73, col 25)
|
||||
--------------------------------
|
||||
75 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (2178 to 2188) SpanInfo: {"start":2193,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 76, col 4) to (line 76, col 26)
|
||||
--------------------------------
|
||||
76 > name: nameA = "noName",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2189 to 2216) SpanInfo: {"start":2193,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 76, col 4) to (line 76, col 26)
|
||||
--------------------------------
|
||||
77 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (2217 to 2227) SpanInfo: {"start":2221,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 77, col 4) to (line 80, col 46)
|
||||
77 > skills: {
|
||||
|
||||
~~~ => Pos: (2228 to 2230) SpanInfo: {"start":2239,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 78, col 8) to (line 78, col 37)
|
||||
--------------------------------
|
||||
78 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2231 to 2269) SpanInfo: {"start":2239,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 78, col 8) to (line 78, col 37)
|
||||
--------------------------------
|
||||
79 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2270 to 2313) SpanInfo: {"start":2278,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 79, col 8) to (line 79, col 43)
|
||||
--------------------------------
|
||||
80 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (2314 to 2318) SpanInfo: {"start":2278,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 79, col 8) to (line 79, col 43)
|
||||
80 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (2319 to 2360) SpanInfo: {"start":2221,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 77, col 4) to (line 80, col 46)
|
||||
--------------------------------
|
||||
81 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~ => Pos: (2361 to 2363) SpanInfo: {"start":2221,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 77, col 4) to (line 80, col 46)
|
||||
81 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~~~~~~~~ => Pos: (2364 to 2380) SpanInfo: {"start":2365,"length":15}
|
||||
>getMultiRobot()
|
||||
>:=> (line 81, col 4) to (line 81, col 19)
|
||||
81 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2381 to 2387) SpanInfo: {"start":2382,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 81, col 21) to (line 81, col 26)
|
||||
81 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2388 to 2394) SpanInfo: {"start":2389,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 81, col 28) to (line 81, col 33)
|
||||
81 >} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (2395 to 2402) SpanInfo: {"start":2396,"length":3}
|
||||
>i++
|
||||
>:=> (line 81, col 35) to (line 81, col 38)
|
||||
--------------------------------
|
||||
82 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2403 to 2429) SpanInfo: {"start":2407,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 82, col 4) to (line 82, col 25)
|
||||
--------------------------------
|
||||
83 >}
|
||||
|
||||
~~ => Pos: (2430 to 2431) SpanInfo: {"start":2407,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 82, col 4) to (line 82, col 25)
|
||||
--------------------------------
|
||||
84 >for (let {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (2432 to 2442) SpanInfo: {"start":2447,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 85, col 4) to (line 85, col 26)
|
||||
--------------------------------
|
||||
85 > name: nameA = "noName",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2443 to 2470) SpanInfo: {"start":2447,"length":22}
|
||||
>name: nameA = "noName"
|
||||
>:=> (line 85, col 4) to (line 85, col 26)
|
||||
--------------------------------
|
||||
86 > skills: {
|
||||
|
||||
~~~~~~~~~~~ => Pos: (2471 to 2481) SpanInfo: {"start":2475,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 86, col 4) to (line 89, col 46)
|
||||
86 > skills: {
|
||||
|
||||
~~~ => Pos: (2482 to 2484) SpanInfo: {"start":2493,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 87, col 8) to (line 87, col 37)
|
||||
--------------------------------
|
||||
87 > primary: primaryA = "primary",
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2485 to 2523) SpanInfo: {"start":2493,"length":29}
|
||||
>primary: primaryA = "primary"
|
||||
>:=> (line 87, col 8) to (line 87, col 37)
|
||||
--------------------------------
|
||||
88 > secondary: secondaryA = "secondary"
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2524 to 2567) SpanInfo: {"start":2532,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 88, col 8) to (line 88, col 43)
|
||||
--------------------------------
|
||||
89 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~ => Pos: (2568 to 2572) SpanInfo: {"start":2532,"length":35}
|
||||
>secondary: secondaryA = "secondary"
|
||||
>:=> (line 88, col 8) to (line 88, col 43)
|
||||
89 > } = { primary: "none", secondary: "none" }
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (2573 to 2614) SpanInfo: {"start":2475,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 86, col 4) to (line 89, col 46)
|
||||
--------------------------------
|
||||
90 >} = <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=> Pos: (2615 to 2705) SpanInfo: {"start":2475,"length":139}
|
||||
>skills: {
|
||||
> primary: primaryA = "primary",
|
||||
> secondary: secondaryA = "secondary"
|
||||
> } = { primary: "none", secondary: "none" }
|
||||
>:=> (line 86, col 4) to (line 89, col 46)
|
||||
--------------------------------
|
||||
91 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~~~ => Pos: (2706 to 2715) SpanInfo: {"start":2710,"length":5}
|
||||
>i = 0
|
||||
>:=> (line 91, col 4) to (line 91, col 9)
|
||||
91 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~ => Pos: (2716 to 2722) SpanInfo: {"start":2717,"length":5}
|
||||
>i < 1
|
||||
>:=> (line 91, col 11) to (line 91, col 16)
|
||||
91 > i = 0; i < 1; i++) {
|
||||
|
||||
~~~~~~~~ => Pos: (2723 to 2730) SpanInfo: {"start":2724,"length":3}
|
||||
>i++
|
||||
>:=> (line 91, col 18) to (line 91, col 21)
|
||||
--------------------------------
|
||||
92 > console.log(primaryA);
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ => Pos: (2731 to 2757) SpanInfo: {"start":2735,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 92, col 4) to (line 92, col 25)
|
||||
--------------------------------
|
||||
93 >}
|
||||
~ => Pos: (2758 to 2758) SpanInfo: {"start":2735,"length":21}
|
||||
>console.log(primaryA)
|
||||
>:=> (line 92, col 4) to (line 92, col 25)
|
||||
@ -0,0 +1,95 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
////declare var console: {
|
||||
//// log(msg: any): void;
|
||||
////}
|
||||
////type Robot = [number, string, string];
|
||||
////type MultiSkilledRobot = [string, [string, string]];
|
||||
////
|
||||
////let robotA: Robot = [1, "mower", "mowing"];
|
||||
////function getRobot() {
|
||||
//// return robotA;
|
||||
////}
|
||||
////
|
||||
////let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]];
|
||||
////let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]];
|
||||
////function getMultiRobot() {
|
||||
//// return multiRobotA;
|
||||
////}
|
||||
////
|
||||
////for (let [, nameA] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, nameA] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, nameA] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////for (let [, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////for (let [, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////
|
||||
////for (let [numberB] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [numberB] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [numberB] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [nameB] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////for (let [nameB] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////for (let [nameB] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////
|
||||
////for (let [numberA2, nameA2, skillA2] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let [numberA2, nameA2, skillA2] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let [numberA2, nameA2, skillA2] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let [nameMA, [primarySkillA, secondarySkillA]] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////for (let [nameMA, [primarySkillA, secondarySkillA]] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////for (let [nameMA, [primarySkillA, secondarySkillA]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////
|
||||
////for (let [numberA3, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
////for (let [numberA3, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
////for (let [numberA3, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
////for (let [...multiRobotAInfo] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(multiRobotAInfo);
|
||||
////}
|
||||
////for (let [...multiRobotAInfo] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(multiRobotAInfo);
|
||||
////}
|
||||
////for (let [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(multiRobotAInfo);
|
||||
////}
|
||||
|
||||
verify.baselineCurrentFileBreakpointLocations();
|
||||
@ -0,0 +1,104 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
////declare var console: {
|
||||
//// log(msg: any): void;
|
||||
////}
|
||||
////type Robot = [number, string, string];
|
||||
////type MultiSkilledRobot = [string, string[]];
|
||||
////let robotA: Robot = [1, "mower", "mowing"];
|
||||
////function getRobot() {
|
||||
//// return robotA;
|
||||
////}
|
||||
////let multiRobotA: MultiSkilledRobot = ["mower", ["mowing", ""]];
|
||||
////let multiRobotB: MultiSkilledRobot = ["trimmer", ["trimming", "edging"]];
|
||||
////function getMultiRobot() {
|
||||
//// return multiRobotA;
|
||||
////}
|
||||
////for (let [, nameA ="name"] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, nameA = "name"] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, nameA = "name"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let [, [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
////] = ["none", "none"]] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////for (let [, [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
////] = ["none", "none"]] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////for (let [, [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
////] = ["none", "none"]] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(primarySkillA);
|
||||
////}
|
||||
////for (let [numberB = -1] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [numberB = -1] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [numberB = -1] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(numberB);
|
||||
////}
|
||||
////for (let [nameB = "name"] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////for (let [nameB = "name"] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////for (let [nameB = "name"] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(nameB);
|
||||
////}
|
||||
////for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let [numberA2 = -1, nameA2 = "name", skillA2 = "skill"] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(nameA2);
|
||||
////}
|
||||
////for (let
|
||||
//// [nameMA = "noName",
|
||||
//// [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
//// ] = ["none", "none"]
|
||||
//// ] = multiRobotA, i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////for (let [nameMA = "noName",
|
||||
//// [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
//// ] = ["none", "none"]
|
||||
////] = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////for (let [nameMA = "noName",
|
||||
//// [
|
||||
//// primarySkillA = "primary",
|
||||
//// secondarySkillA = "secondary"
|
||||
//// ] = ["none", "none"]
|
||||
////] = ["trimmer", ["trimming", "edging"]], i = 0; i < 1; i++) {
|
||||
//// console.log(nameMA);
|
||||
////}
|
||||
////for (let [numberA3 = -1, ...robotAInfo] = robotA, i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
////for (let [numberA3 = -1, ...robotAInfo] = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
////for (let [numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < 1; i++) {
|
||||
//// console.log(numberA3);
|
||||
////}
|
||||
verify.baselineCurrentFileBreakpointLocations();
|
||||
@ -0,0 +1,64 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
////declare var console: {
|
||||
//// log(msg: any): void;
|
||||
////}
|
||||
////interface Robot {
|
||||
//// name: string;
|
||||
//// skill: string;
|
||||
////}
|
||||
////interface MultiRobot {
|
||||
//// name: string;
|
||||
//// skills: {
|
||||
//// primary: string;
|
||||
//// secondary: string;
|
||||
//// };
|
||||
////}
|
||||
////let robot: Robot = { name: "mower", skill: "mowing" };
|
||||
////let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
|
||||
////function getRobot() {
|
||||
//// return robot;
|
||||
////}
|
||||
////function getMultiRobot() {
|
||||
//// return multiRobot;
|
||||
////}
|
||||
////for (let {name: nameA } = robot, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA } = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let { skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let { skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let { skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
//// <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
//// i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {name: nameA, skill: skillA } = robot, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA, skill: skillA } = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA, skill: skillA } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = multiRobot, i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } =
|
||||
//// <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
//// i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
verify.baselineCurrentFileBreakpointLocations();
|
||||
@ -0,0 +1,96 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
////declare var console: {
|
||||
//// log(msg: any): void;
|
||||
////}
|
||||
////interface Robot {
|
||||
//// name: string;
|
||||
//// skill: string;
|
||||
////}
|
||||
////interface MultiRobot {
|
||||
//// name: string;
|
||||
//// skills: {
|
||||
//// primary?: string;
|
||||
//// secondary?: string;
|
||||
//// };
|
||||
////}
|
||||
////let robot: Robot = { name: "mower", skill: "mowing" };
|
||||
////let multiRobot: MultiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } };
|
||||
////function getRobot() {
|
||||
//// return robot;
|
||||
////}
|
||||
////function getMultiRobot() {
|
||||
//// return multiRobot;
|
||||
////}
|
||||
////for (let {name: nameA= "noName" } = robot, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA = "noName" } = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA = "noName" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = multiRobot, i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
//// i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {name: nameA = "noName", skill: skillA = "skill" } = robot, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA = "noName", skill: skillA = "skill" } = getRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {name: nameA = "noName", skill: skillA = "skill" } = <Robot>{ name: "trimmer", skill: "trimming" }, i = 0; i < 1; i++) {
|
||||
//// console.log(nameA);
|
||||
////}
|
||||
////for (let {
|
||||
//// name: nameA = "noName",
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = multiRobot, i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {
|
||||
//// name: nameA = "noName",
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = getMultiRobot(), i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
////for (let {
|
||||
//// name: nameA = "noName",
|
||||
//// skills: {
|
||||
//// primary: primaryA = "primary",
|
||||
//// secondary: secondaryA = "secondary"
|
||||
//// } = { primary: "none", secondary: "none" }
|
||||
////} = <MultiRobot>{ name: "trimmer", skills: { primary: "trimming", secondary: "edging" } },
|
||||
//// i = 0; i < 1; i++) {
|
||||
//// console.log(primaryA);
|
||||
////}
|
||||
|
||||
verify.baselineCurrentFileBreakpointLocations();
|
||||
Loading…
x
Reference in New Issue
Block a user