dotnet / dotnet/fsharp

[Bug, FCS, Tooltips] Parameter name isn't visible in a tooltip when parameter is a tuple

Open
#10,441 0 comments 0 reactions 0 assignees View on GitHub
Area-FCS Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

Please provide a succinct description of the issue.

Doesn't work when parameter is a tuple:
``` fsharp
let receivesTuple thisIsAVeryImportantTupleName =
let (a, b) = thisIsAVeryImportantTupleName
a + b
```
![image](https://user-images.githubusercontent.com/37334640/98923407-a8ea4180-24e4-11eb-824d-b4c9153989a5.png)

But works when parameter is a struct tuple:
``` fsharp
let receivesStructTuple thisIsAVeryImportantTupleName =
let struct (a, b) = thisIsAVeryImportantTupleName
a + b
```
![image](https://user-images.githubusercontent.com/37334640/98923498-c8816a00-24e4-11eb-8757-873393334380.png)

Both in Rider and Visual Studio

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.