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

Handle missing System.Nullable type #74330

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

jjonescz
Copy link
Member

Fixes #74297.

@jjonescz jjonescz added the Feature - Nullable Reference Types Nullable Reference Types label Jul 10, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 10, 2024
@jjonescz jjonescz marked this pull request as ready for review July 10, 2024 15:39
@jjonescz jjonescz requested a review from a team as a code owner July 10, 2024 15:39
@@ -159033,5 +159033,78 @@ class C
// c1.
Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(15, 20));
}

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/74297")]
public void MissingSystemNullable()
Copy link
Member

Choose a reason for hiding this comment

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

Nit: should the test be in NullableTests instead of NullableReferenceTypesTests? It's about nullable value types.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, sounds good, I will move them, thanks.

@jjonescz jjonescz enabled auto-merge (squash) July 11, 2024 08:40
@jjonescz jjonescz merged commit dc12019 into dotnet:main Jul 11, 2024
24 checks passed
@jjonescz jjonescz deleted the 74297-ErrorTypeAnnotated branch July 11, 2024 09:52
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 11, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.12 P1 Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Feature - Nullable Reference Types Nullable Reference Types untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hitting Debug.Assert in the compiler (TypeWithAnnotations.cs)
5 participants