-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Unmanaged constructed types tests #31602
Unmanaged constructed types tests #31602
Conversation
That is expected. The use of pointers in C# are not guaranteed to be verifiable. There are cases where they can be verified but the overall expectation is that they will fail to verify. For that test I would just disable verification (it's an argument to |
1707d58
to
80f47aa
Compare
Added some commits specifically to address LangVersion 7.3 handling. I pretty much looked at where |
1884415
to
80721b4
Compare
@dotnet/roslyn-compiler please have a look |
src/Compilers/CSharp/Test/Semantic/Semantics/GenericConstraintsTests.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Test/Semantic/Semantics/NullableReferenceTypesTests.cs
Show resolved
Hide resolved
a198a47
to
226d06a
Compare
226d06a
to
f0def60
Compare
Done with review pass (Iteration 34). Looking good. Had one question about a comment I didn't see addressed. |
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.
Fixed a bug in constraint checking where the wrong Compilation would be used.
Finished the requested changes @agocke |
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 for bearing with this PR. Now I know to split them apart a bit more in the future. |
Related to #31374 and dotnet/csharplang#1744
Seeing an interesting test failure in the new verification test in
7b278f4. Anything come to mind on how to address this @jaredpar @agocke?
Umbrella issue for unmanaged constructed types: #31374