-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Propagate params
to lambdas and local functions
#79880
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
base: main
Are you sure you want to change the base?
Conversation
Does VB have the same issue with lambdas? At the very least we should add tests if the scenario is relevant for VB, I think. #Closed |
VB doesn't support |
I'd like more understanding of the scenario before proceeding with implementation changes. |
Are we testing lambdas and local functions inside new extension methods? They undergo a special rewrite. #Closed |
src/Compilers/CSharp/Portable/Lowering/SynthesizedMethodBaseSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Lowering/SynthesizedMethodBaseSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedParameterSymbol.cs
Outdated
Show resolved
Hide resolved
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.
LGTM Thanks (commit 8)
src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedParameterSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Lowering/SynthesizedMethodBaseSymbol.cs
Outdated
Show resolved
Hide resolved
Done with review pass (commit 9) #Closed |
Added When you commit this breaking change:
You can refer to the .NET SDK breaking change guidelines |
I think these steps are not necessary - when I tried them previously, I was told the documentation of the breaking change here in the roslyn repo is enough. |
Done with review pass (commit 12) #Closed |
Done with review pass (commit 13) #Closed |
Done with review pass (commit 14) |
Overall LGTM, but I'll wait for the breaking change approval before signing off. |
Fixes #79752.