mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 17:27:54 -05:00
Breakpoint span in the doStatement
This commit is contained in:
81
tests/baselines/reference/bpSpan_do.baseline
Normal file
81
tests/baselines/reference/bpSpan_do.baseline
Normal file
@@ -0,0 +1,81 @@
|
||||
|
||||
1 >var i = 0;
|
||||
|
||||
~~~~~~~~~~~ => Pos: (0 to 10) SpanInfo: {"start":0,"length":9}
|
||||
>var i = 0
|
||||
>:=> (line 1, col 0) to (line 1, col 9)
|
||||
--------------------------------
|
||||
2 >do
|
||||
|
||||
~~~ => Pos: (11 to 13) SpanInfo: {"start":20,"length":3}
|
||||
>i++
|
||||
>:=> (line 4, col 4) to (line 4, col 7)
|
||||
--------------------------------
|
||||
3 >{
|
||||
|
||||
~~ => Pos: (14 to 15) SpanInfo: {"start":20,"length":3}
|
||||
>i++
|
||||
>:=> (line 4, col 4) to (line 4, col 7)
|
||||
--------------------------------
|
||||
4 > i++;
|
||||
|
||||
~~~~~~~~~ => Pos: (16 to 24) SpanInfo: {"start":20,"length":3}
|
||||
>i++
|
||||
>:=> (line 4, col 4) to (line 4, col 7)
|
||||
--------------------------------
|
||||
5 >} while (i < 10);
|
||||
|
||||
~ => Pos: (25 to 25) SpanInfo: {"start":20,"length":3}
|
||||
>i++
|
||||
>:=> (line 4, col 4) to (line 4, col 7)
|
||||
5 >} while (i < 10);
|
||||
|
||||
~~~~~~~~~~~~~~~~~ => Pos: (26 to 42) SpanInfo: {"start":27,"length":14}
|
||||
>while (i < 10)
|
||||
>:=> (line 5, col 2) to (line 5, col 16)
|
||||
--------------------------------
|
||||
6 >do {
|
||||
|
||||
~~~~~ => Pos: (43 to 47) SpanInfo: {"start":52,"length":3}
|
||||
>i++
|
||||
>:=> (line 7, col 4) to (line 7, col 7)
|
||||
--------------------------------
|
||||
7 > i++;
|
||||
|
||||
~~~~~~~~~ => Pos: (48 to 56) SpanInfo: {"start":52,"length":3}
|
||||
>i++
|
||||
>:=> (line 7, col 4) to (line 7, col 7)
|
||||
--------------------------------
|
||||
8 >} while (i < 20);
|
||||
|
||||
~ => Pos: (57 to 57) SpanInfo: {"start":52,"length":3}
|
||||
>i++
|
||||
>:=> (line 7, col 4) to (line 7, col 7)
|
||||
8 >} while (i < 20);
|
||||
|
||||
~~~~~~~~~~~~~~~~~ => Pos: (58 to 74) SpanInfo: {"start":59,"length":14}
|
||||
>while (i < 20)
|
||||
>:=> (line 8, col 2) to (line 8, col 16)
|
||||
--------------------------------
|
||||
9 >do {
|
||||
|
||||
~~~~~ => Pos: (75 to 79) SpanInfo: {"start":84,"length":3}
|
||||
>i++
|
||||
>:=> (line 10, col 4) to (line 10, col 7)
|
||||
--------------------------------
|
||||
10 > i++;
|
||||
|
||||
~~~~~~~~~ => Pos: (80 to 88) SpanInfo: {"start":84,"length":3}
|
||||
>i++
|
||||
>:=> (line 10, col 4) to (line 10, col 7)
|
||||
--------------------------------
|
||||
11 >}
|
||||
|
||||
~~~ => Pos: (89 to 91) SpanInfo: {"start":84,"length":3}
|
||||
>i++
|
||||
>:=> (line 10, col 4) to (line 10, col 7)
|
||||
--------------------------------
|
||||
12 >while (i < 30);
|
||||
~~~~~~~~~~~~~~~ => Pos: (92 to 106) SpanInfo: {"start":92,"length":14}
|
||||
>while (i < 30)
|
||||
>:=> (line 12, col 0) to (line 12, col 14)
|
||||
@@ -10,5 +10,8 @@
|
||||
////do {
|
||||
//// i++;
|
||||
////} while (i < 20);
|
||||
|
||||
////do {
|
||||
//// i++;
|
||||
////}
|
||||
////while (i < 30);
|
||||
verify.baselineCurrentFileBreakpointLocations();
|
||||
Reference in New Issue
Block a user