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

Quick Info shows "Types:" section even when it's empty #61320

Closed
Neme12 opened this issue May 14, 2022 · 1 comment · Fixed by #61702
Closed

Quick Info shows "Types:" section even when it's empty #61320

Neme12 opened this issue May 14, 2022 · 1 comment · Fixed by #61702
Labels
Area-IDE Bug Concept-Continuous Improvement help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone

Comments

@Neme12
Copy link
Contributor

Neme12 commented May 14, 2022

Version Used: Visual Studio 17.3.0 Preview 1.0

Steps to Reproduce:

Foo(default);

void Foo((int a, int b) foo)
{
}

Hover on the Foo invocation with the cursor.

Expected Behavior:
Quick Info doesn't show the "Types:" section because no types are shown there. If the method had a second tuple parameter, the "Types:" section would show the tuple, but when there's only one tuple parameter, it doesn't, so the "Types:" section is empty and there's no reason to show it, just like it isn't shown when the parameter is of a non-tuple type. I'm guessing this is the result of #56025.

Actual Behavior:
image

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels May 14, 2022
@Neme12
Copy link
Contributor Author

Neme12 commented May 14, 2022

The same applies when there are multiple different tuple types in the signature.

Foo(default, default);

void Foo((int a, int b) foo, (int c, int d) foo2)
{
}

image

@vatsalyaagrawal vatsalyaagrawal added Concept-Continuous Improvement and removed untriaged Issues and PRs which have not yet been triaged by a lead labels May 17, 2022
@vatsalyaagrawal vatsalyaagrawal added this to the Backlog milestone May 17, 2022
@vatsalyaagrawal vatsalyaagrawal added help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Bug labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Concept-Continuous Improvement help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants