Skip to content
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

Fix completion off of nullable lambda parameter #67128

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

CyrusNajmabadi
Copy link
Member

Fixes #42910

.SelectMany(parameterTypeSymbol => GetMemberSymbols(parameterTypeSymbol, position, excludeInstance: false, useBaseReferenceAccessibility: false, unwrapNullable: false, isForDereference))
.ToImmutableArray();
.SelectManyAsArray(parameterTypeSymbol =>
GetMemberSymbols(parameterTypeSymbol, position, excludeInstance: false, useBaseReferenceAccessibility: false, unwrapNullable, isForDereference));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug was that we were passing unwrapNullable: false along, instead of hte correct value that had been computed above but not passed into this helper.

@CyrusNajmabadi CyrusNajmabadi merged commit 32f26c4 into dotnet:main Mar 1, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the nullableCompletion branch March 1, 2023 21:40
@ghost ghost added this to the Next milestone Mar 1, 2023
@RikkiGibson RikkiGibson modified the milestones: Next, 17.6 P2 Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants