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

[release/6.0-rc1] Remove unused nullability in typeof #25664

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

roji
Copy link
Member

@roji roji commented Aug 23, 2021

Description

Fixes compilation errors starting with .NET SDK 6.0.100-rc.1.21417.19

Customer Impact

We won't be able to build the product to ship to them.

How found

Updating the SDK.

Test coverage

Compile-time issue.

Regression?

N/A

Risk

Low. Makes the compiler work.

Flagged by @sebastienros because of failures in continuous benchmark runs

@roji roji changed the base branch from release/6.0 to release/6.0-rc1 August 23, 2021 18:04
@roji roji requested a review from dougbu as a code owner August 23, 2021 18:04
Causes compilation error starting with dotnet SDK
6.0.100-rc.1.21417.19
@roji roji force-pushed the roji/TinyNullabilityThing branch from a26d135 to a3869de Compare August 23, 2021 18:05
@roji
Copy link
Member Author

roji commented Aug 23, 2021

Note: I rebased this on 6.0-rc1, since the error occurs with an rc1 SDK.

@dougbu
Copy link
Member

dougbu commented Aug 24, 2021

@roji I suspect I was invited to this PR when you changed the target branch. But, I don't have context…

@roji
Copy link
Member Author

roji commented Aug 24, 2021

@dougbu starting with SDK 6.0.100-rc.1.21417.19, the line I changed no longer compiles, because of dotnet/roslyn#54956. This PR doesn't do any actual change: typeof(object?[]) and typeof(object[]) are identical.

@ajcvickers ajcvickers changed the title Remove unused nullability in typeof [release/6.0-rc1] Remove unused nullability in typeof Aug 24, 2021
@ajcvickers ajcvickers added this to the 6.0.0-rc1 milestone Aug 24, 2021
@ajcvickers ajcvickers merged commit 3f50c0d into release/6.0-rc1 Aug 24, 2021
@ajcvickers ajcvickers deleted the roji/TinyNullabilityThing branch August 24, 2021 18:32
@ajcvickers ajcvickers removed this from the 6.0.0-rc1 milestone Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants