Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support modifiers with simple lambda parameters. #75400
Support modifiers with simple lambda parameters. #75400
Changes from 116 commits
5ef8b62
377fd39
71258cb
fc3889c
df0fcd3
9be9229
7b8a22a
5ac1ae3
da298d8
fcced9f
1ff139d
a5ac0b2
1381610
30dde1f
138cc1b
4e3d787
06a65d4
2bf5192
ec0f272
480eacb
987928e
08cdb3b
86b9cda
6c07d0c
fbc0b05
ec51315
b7edb45
66ed2a0
223641a
7995a7e
c60680d
922ec4f
b0e61fb
3d5bd38
0fa7e52
4d888f6
5b7ac1a
b1c0415
0c62f86
02376ed
8d112ba
72cc5f2
b6cd56c
5624428
e93792e
955d4fa
b5f28b7
bb74038
47ed0e4
314d807
163a667
c0c55ce
e7b4200
5654594
a6caa89
e0f855f
a690f4a
08b804f
55f8a48
7e7cd11
980ff5e
6975e28
ee34ba8
e4e33aa
111ec5f
06a8fca
d9766a7
47ab140
dee332d
d2cdfc3
e4464e0
b058429
f150417
729c639
ccf7bbc
f65ff60
bd64fc2
f4dc8f5
72b419d
ea65299
acb0f81
c65d771
da06993
d45d1af
79db98b
6c7b931
11a9e71
63f688a
fde87ac
99482d3
1596d26
ef569dc
005511f
622efc9
e6ba439
09c0d2f
48a8d96
5a517e8
1f0d95a
62fed3a
819ac94
d1f8026
1e5d00e
87d005d
f43f02b
38b7c98
7851db3
2093c05
1aa702c
cf775df
7c9ed31
2b89528
0b34018
34fc6e6
a6f45d5
44ed91b
41bd895
2906eb6
84bfaa8
b7aebc9
34de5f2
d3a4b0b
e6d9d31
e51345c
eef4e94
952fc5a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this logic moved from teh caller. no need for it to do a secondary pass to report errors when it can just do that here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inlined. it's an easy check. when we're in the case where we're not requiring types (an implicit lambda) we cannot have default parameter values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this logic moved into AnalyzeAnonymousFunction. In particular, we want check parameters unilaterally even if there are types or no types (since we want to check modifier usage in the latter case). so the HasExplicitlyTypedParameterList had to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this waas already checked above on line 2107. no need to check again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this moved upwards to an earlier error location.