Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 4 additions & 34 deletions data/fixtures/scopes/c/interior/interior.switchCase.scope
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,7 @@ switch (foo) {
8| break;
--------------<

[#1 Removal] = 0:14-9:0
>
0| switch (foo) {
1| case 0:
2| bar;
3| break;
4| case 1: {
5| break;
6| }
7| default:
8| break;
9| }
<

[#1 Removal] =
[#1 Domain] = 0:14-9:0
>
0| switch (foo) {
Expand All @@ -59,13 +46,7 @@ switch (foo) {
3| break;
--------------<

[#2 Removal] = 1:11-3:14
>
1| case 0:
2| bar;
3| break;
--------------<

[#2 Removal] =
[#2 Domain] = 1:11-3:14
>
1| case 0:
Expand All @@ -80,13 +61,7 @@ switch (foo) {
>------<
5| break;

[#3 Removal] = 4:13-6:4
>
4| case 1: {
5| break;
6| }
----<

[#3 Removal] =
[#3 Domain] = 4:13-6:4
>
4| case 1: {
Expand All @@ -101,12 +76,7 @@ switch (foo) {
>------<
8| break;

[#4 Removal] = 7:12-8:14
>
7| default:
8| break;
--------------<

[#4 Removal] =
[#4 Domain] = 7:12-8:14
>
7| default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>---------<
1| Foo() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| Foo() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
8 changes: 1 addition & 7 deletions data/fixtures/scopes/cpp/interior/interior.method.scope
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>--------------<
1| void bar() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| void bar() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>----------------<
1| public Foo() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| public Foo() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
>----<
0| () => { foo; };

[Removal] = 0:7-0:13
>------<
0| () => { foo; };

[Removal] =
[Domain] = 0:7-0:13
>------<
0| () => { foo; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>---------------------<
1| public void Bar() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| public void Bar() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
38 changes: 4 additions & 34 deletions data/fixtures/scopes/csharp/interior/interior.switchCase.scope
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,7 @@ switch (foo) {
8| break;
--------------<

[#1 Removal] = 0:14-9:0
>
0| switch (foo) {
1| case 0:
2| bar;
3| break;
4| case 1: {
5| break;
6| }
7| default:
8| break;
9| }
<

[#1 Removal] =
[#1 Domain] = 0:14-9:0
>
0| switch (foo) {
Expand All @@ -59,13 +46,7 @@ switch (foo) {
3| break;
--------------<

[#2 Removal] = 1:11-3:14
>
1| case 0:
2| bar;
3| break;
--------------<

[#2 Removal] =
[#2 Domain] = 1:11-3:14
>
1| case 0:
Expand All @@ -80,13 +61,7 @@ switch (foo) {
>------<
5| break;

[#3 Removal] = 4:13-6:4
>
4| case 1: {
5| break;
6| }
----<

[#3 Removal] =
[#3 Domain] = 4:13-6:4
>
4| case 1: {
Expand All @@ -101,12 +76,7 @@ switch (foo) {
>------<
8| break;

[#4 Removal] = 7:12-8:14
>
7| default:
8| break;
--------------<

[#4 Removal] =
[#4 Domain] = 7:12-8:14
>
7| default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ public class Foo {
>----------------<
1| public Foo() { }

[#1 Removal] = 0:18-2:0
>
0| public class Foo {
1| public Foo() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:18-2:0
>
0| public class Foo {
Expand Down
8 changes: 1 addition & 7 deletions data/fixtures/scopes/java/interior/interior.method.scope
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ public class Foo {
>---------------------<
1| public void bar() { }

[#1 Removal] = 0:18-2:0
>
0| public class Foo {
1| public void bar() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:18-2:0
>
0| public class Foo {
Expand Down
8 changes: 1 addition & 7 deletions data/fixtures/scopes/java/interior/interior.static.scope
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>----------<
1| static { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| static { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
38 changes: 4 additions & 34 deletions data/fixtures/scopes/java/interior/interior.switchCase.scope
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,7 @@ switch (value) {
8| break;
--------------<

[#1 Removal] = 0:16-9:0
>
0| switch (value) {
1| case 0:
2| foo;
3| break;
4| case 1: {
5| break;
6| }
7| default:
8| break;
9| }
<

[#1 Removal] =
[#1 Domain] = 0:16-9:0
>
0| switch (value) {
Expand All @@ -59,13 +46,7 @@ switch (value) {
3| break;
--------------<

[#2 Removal] = 1:11-3:14
>
1| case 0:
2| foo;
3| break;
--------------<

[#2 Removal] =
[#2 Domain] = 1:11-3:14
>
1| case 0:
Expand All @@ -80,13 +61,7 @@ switch (value) {
>------<
5| break;

[#3 Removal] = 4:13-6:4
>
4| case 1: {
5| break;
6| }
----<

[#3 Removal] =
[#3 Domain] = 4:13-6:4
>
4| case 1: {
Expand All @@ -101,12 +76,7 @@ switch (value) {
>------<
8| break;

[#4 Removal] = 7:12-8:14
>
7| default:
8| break;
--------------<

[#4 Removal] =
[#4 Domain] = 7:12-8:14
>
7| default:
Expand Down
30 changes: 4 additions & 26 deletions data/fixtures/scopes/java/interior/interior.switchCase2.scope
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ switch (foo) {
5| default -> 3;
-----------------<

[#1 Removal] = 0:14-6:0
>
0| switch (foo) {
1| case 0 -> 1;
2| case 1 -> {
3| yield 2;
4| };
5| default -> 3;
6| }
<

[#1 Removal] =
[#1 Domain] = 0:14-6:0
>
0| switch (foo) {
Expand All @@ -45,10 +35,7 @@ switch (foo) {
>--<
1| case 0 -> 1;

[#2 Removal] = 1:13-1:16
>---<
1| case 0 -> 1;

[#2 Removal] =
[#2 Domain] = 1:13-1:16
>---<
1| case 0 -> 1;
Expand All @@ -60,13 +47,7 @@ switch (foo) {
>--------<
3| yield 2;

[#3 Removal] = 2:15-4:4
>
2| case 1 -> {
3| yield 2;
4| };
----<

[#3 Removal] =
[#3 Domain] = 2:15-4:4
>
2| case 1 -> {
Expand All @@ -81,10 +62,7 @@ switch (foo) {
>--<
5| default -> 3;

[#4 Removal] = 5:14-5:17
>---<
5| default -> 3;

[#4 Removal] =
[#4 Domain] = 5:14-5:17
>---<
5| default -> 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ class Foo {
>-----------------<
1| constructor() { }

[#1 Removal] = 0:11-2:0
>
0| class Foo {
1| constructor() { }
2| }
<

[#1 Removal] =
[#1 Domain] = 0:11-2:0
>
0| class Foo {
Expand Down
Loading
Loading