Skip to content

Commit 019b000

Browse files
committed
Split up if statement scope tests
1 parent c41875b commit 019b000

File tree

3 files changed

+51
-57
lines changed

3 files changed

+51
-57
lines changed
Lines changed: 4 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,10 @@
11
if(FALSE) 0
2-
3-
if(TRUE){ 1 }
4-
5-
if(TRUE){
6-
1
7-
} else {
8-
0
9-
}
102
---
113

12-
[#1 Content] =
13-
[#1 Domain] = 0:0-0:11
4+
[Content] =
5+
[Removal] =
6+
[Domain] = 0:0-0:11
147
>-----------<
158
0| if(FALSE) 0
169

17-
[#1 Removal] = 0:0-2:0
18-
>-----------
19-
0| if(FALSE) 0
20-
1|
21-
2| if(TRUE){ 1 }
22-
<
23-
24-
[#1 Insertion delimiter] = "\n"
25-
26-
27-
[#2 Content] =
28-
[#2 Domain] = 2:0-2:13
29-
>-------------<
30-
2| if(TRUE){ 1 }
31-
32-
[#2 Removal] = 2:0-4:0
33-
>-------------
34-
2| if(TRUE){ 1 }
35-
3|
36-
4| if(TRUE){
37-
<
38-
39-
[#2 Insertion delimiter] = "\n"
40-
41-
42-
[#3 Content] =
43-
[#3 Domain] = 4:0-8:1
44-
>---------
45-
4| if(TRUE){
46-
5| 1
47-
6| } else {
48-
7| 0
49-
8| }
50-
-<
51-
52-
[#3 Removal] = 2:13-8:1
53-
>
54-
2| if(TRUE){ 1 }
55-
3|
56-
4| if(TRUE){
57-
5| 1
58-
6| } else {
59-
7| 0
60-
8| }
61-
-<
62-
63-
[#3 Insertion delimiter] = "\n"
10+
[Insertion delimiter] = "\n"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
if(TRUE){ 1 }
3+
---
4+
5+
[Content] =
6+
[Domain] = 1:0-1:13
7+
>-------------<
8+
1| if(TRUE){ 1 }
9+
10+
[Removal] = 0:0-1:13
11+
>
12+
0|
13+
1| if(TRUE){ 1 }
14+
-------------<
15+
16+
[Insertion delimiter] = "\n"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
if(TRUE){
3+
1
4+
} else {
5+
0
6+
}
7+
8+
---
9+
10+
[Content] =
11+
[Domain] = 1:0-5:1
12+
>---------
13+
1| if(TRUE){
14+
2| 1
15+
3| } else {
16+
4| 0
17+
5| }
18+
-<
19+
20+
[Removal] = 0:0-6:0
21+
>
22+
0|
23+
1| if(TRUE){
24+
2| 1
25+
3| } else {
26+
4| 0
27+
5| }
28+
6|
29+
<
30+
31+
[Insertion delimiter] = "\n"

0 commit comments

Comments
 (0)