dotnet / dotnet/fsharp

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

Offen
#10,246 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Area-LangService-ToolTips Bug Impact-Low
Vorherrschende Sprache
F#
Sterne
4.3k
Forks
876
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
133

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.