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

Turn on NRT by default in specification tests #33278

Merged
merged 1 commit into from
Mar 10, 2024
Merged

Conversation

roji
Copy link
Member

@roji roji commented Mar 10, 2024

This turn on nullable reference types by default for the entire solution (previously it was enabled by default only for src).

The goal is mainly to make the specification test suites opted in by default; I've null-annotated most test infra stuff, and introduced explicit opting out (#nullable disable) for test classes which aren't yet annotated. This will hopefully help us to do NRTs when introducing new test classes, and maybe gradually annotate some existing ones over time.

Part of #24427

@roji roji requested a review from a team March 10, 2024 07:36
Copy link
Contributor

@ajcvickers ajcvickers left a comment

Choose a reason for hiding this comment

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

Fantastic!

@roji roji merged commit 95cb5b0 into dotnet:main Mar 10, 2024
7 checks passed
@roji roji deleted the NullablesAgain branch March 10, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants