Type hover does not work properly for wildcards in in tuple patterns
- 主要言語
- F#
- スター
- 4.3k
- フォーク
- 876
- 平均マージ
- 5日 9時間
- マージ済み PR(30日)
- 153
説明
```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
コントリビューションガイド
調査の方向性
issue にある tuple-pattern reproducer から始め、Visual Studio における F# language-service の hover 動作を調査します。`_` 上の hover を再現し、その後 hover の処理をたどって、なぜ `val _arg1 : T` と報告されるのかを特定します。ワイルドカードに適切な型情報が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- fsharp
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100