dotnet / dotnet/fsharp

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

Aperta
#10,246 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Area-LangService-ToolTips Bug Impact-Low
Lingua principale
F#
Stelle
4.3k
Fork
876
Merge medio
4g 22h
PR unite (30g)
144

Descrizione

```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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.