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

[C# 9.0] "Use implicit type" incorrectly tries to fix target-typed new expressions #46701

Closed
davkean opened this issue Aug 11, 2020 · 3 comments
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone

Comments

@davkean
Copy link
Member

davkean commented Aug 11, 2020

Version Used:
Version 16.8.0 Preview 2.0 [30404.163.master] with C# 9.0

Steps to Reproduce:

List<string> values = new();

Expected Behavior:
"Use implicit type" to not suggest anything

Actual Behavior:

image

@davkean davkean changed the title "Use implicit type" incorrectly tries to fix target-typed new expressions [C# 9.0] "Use implicit type" incorrectly tries to fix target-typed new expressions Aug 11, 2020
@CyrusNajmabadi
Copy link
Member

@ryzngard were you fixing this?

@ryzngard
Copy link
Contributor

I was fixing nullability, not target typed new

@jinujoseph jinujoseph added the Bug label Aug 18, 2020
@jinujoseph jinujoseph added this to the 16.8 milestone Aug 18, 2020
@jinujoseph jinujoseph added the help wanted The issue is "up for grabs" - add a comment if you are interested in working on it label Aug 18, 2020
@davidwengier
Copy link
Contributor

I fixed this in #46469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
None yet
Development

No branches or pull requests

6 participants