dotnet / dotnet/fsharp

Type hover does not work properly for wildcards in in tuple patterns

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

Description

```fs
type T = int * float
let f ((x,_) : T) = ()
```

When I hover over the `_` the tooltip I get back is `val _arg1 : T`. I thought this might be because the VS version is a few months out of date, but even on the latest (non-review) one the error persists.

* Operating system - Win 10
* .NET Runtime kind (.NET Core, .NET Framework, Mono) - Microsoft .NET Framework Version 4.8.03752
* Editing Tools (e.g. Visual Studio Version, Visual Studio) - Microsoft Visual Studio Community 2019 Version 16.7.5

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.