Skip to content

Commit 714349d

Browse files
value return lambda
1 parent e88bfa2 commit 714349d

File tree

6 files changed

+28
-72
lines changed

6 files changed

+28
-72
lines changed

data/fixtures/scopes/cpp/value.return.lambda.scope

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
() => 2;
1+
() => 0;
22
---
33

44
[Content] = 0:6-0:7
55
>-<
6-
0| () => 2;
6+
0| () => 0;
77

88
[Removal] = 0:5-0:7
99
>--<
10-
0| () => 2;
10+
0| () => 0;
1111

1212
[Leading delimiter] = 0:5-0:6
1313
>-<
14-
0| () => 2;
14+
0| () => 0;
1515

1616
[Domain] = 0:0-0:7
1717
>-------<
18-
0| () => 2;
18+
0| () => 0;
1919

2020
[Insertion delimiter] = " "

data/fixtures/scopes/csharp/value.return.lambda2.scope

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
() -> 123
1+
() -> 0;
22
---
33

4-
[Content] = 0:6-0:9
5-
>---<
6-
0| () -> 123
4+
[Content] = 0:6-0:7
5+
>-<
6+
0| () -> 0;
77

8-
[Removal] = 0:5-0:9
9-
>----<
10-
0| () -> 123
8+
[Removal] = 0:5-0:7
9+
>--<
10+
0| () -> 0;
1111

1212
[Leading delimiter] = 0:5-0:6
1313
>-<
14-
0| () -> 123
14+
0| () -> 0;
1515

16-
[Domain] = 0:0-0:9
17-
>---------<
18-
0| () -> 123
16+
[Domain] = 0:0-0:7
17+
>-------<
18+
0| () -> 0;
1919

2020
[Insertion delimiter] = " "
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
lambda: 123
1+
lambda: 0
22
---
33

4-
[Content] = 0:8-0:11
5-
>---<
6-
0| lambda: 123
4+
[Content] = 0:8-0:9
5+
>-<
6+
0| lambda: 0
77

8-
[Removal] = 0:7-0:11
9-
>----<
10-
0| lambda: 123
8+
[Removal] = 0:7-0:9
9+
>--<
10+
0| lambda: 0
1111

1212
[Leading delimiter] = 0:7-0:8
1313
>-<
14-
0| lambda: 123
14+
0| lambda: 0
1515

16-
[Domain] = 0:0-0:11
17-
>-----------<
18-
0| lambda: 123
16+
[Domain] = 0:0-0:9
17+
>---------<
18+
0| lambda: 0
1919

2020
[Insertion delimiter] = " "

packages/common/src/scopeSupportFacets/cpp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export const cppScopeSupport: LanguageScopeSupportFacetMap = {
6161
"value.argument.formal.constructor": supported,
6262
"value.argument.formal.constructor.iteration": supported,
6363
"value.foreach": supported,
64-
"value.return.lambda": supported,
6564
"value.field": supported,
6665

6766
"type.argument.formal.method": supported,
@@ -82,4 +81,5 @@ export const cppScopeSupport: LanguageScopeSupportFacetMap = {
8281
/* NOT APPLICABLE */
8382

8483
"interior.lambda.expression": notApplicable,
84+
"value.return.lambda": notApplicable,
8585
};

0 commit comments

Comments
 (0)