Skip to content

Turn on NRT by default in specification tests - #33278

Merged
roji merged 1 commit into
dotnet:mainfrom
roji:NullablesAgain
Mar 10, 2024
Merged

roji merged 1 commit into
dotnet:mainfrom
roji:NullablesAgain

Conversation

@roji

@roji roji commented Mar 10, 2024

Copy link
Copy Markdown
Member

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

@ajcvickers ajcvickers left a comment

Copy link
Copy Markdown
Contributor

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
@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