-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Address issues with nullable flow analysis slot container types and changing types during inference #39301
Conversation
Fixes dotnet#39220 Filter out "bad" slots not a member of the container. Fixes dotnet#33428
@cston Can you please have a look at this? We discussed this earlier today. #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. Minor comments only.
@cston You last reviewed iteration 2. I've made a number of changes since then. Can you please have another look? @dotnet/roslyn-compiler May I please have a second review of this nullable change? It adds assertions to check invariants around the way slots are used. |
src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.VariableIdentifier.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker_Patterns.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Test/Semantic/Semantics/NullableReferenceTypesTests.cs
Outdated
Show resolved
Hide resolved
No sure which change you're referring to (the one in In reply to: 574439406 [](ancestors = 574439406) Refers to: src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker.cs:1429 in 15a06b8. [](commit_id = 15a06b8, deletion_comment = False) |
@AlekseyTs I think I've addressed your comments. Do you have any others? #Resolved |
I do not have any other comments at the moment, but that was the only file I looked at. #Resolved |
@dotnet/roslyn-compiler May I please have a second review of this nullability bug fix that strengthens its internal assertions? #Resolved |
@dotnet/roslyn-compiler May I please have a second review of this nullability bug fix that strengthens its internal assertions? |
Fixes #39220
Fixes #39297
Fixes #33428