Missing brackets in tupled DU field intellisense
Open
Area-LangService-ToolTips
Bug
Impact-Medium
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
The following DU has two cases with different structures, but intellisense is missing a bracket in the tupled Case1 `x` field and so doesn't distinguish between the different structures.
```fsharp
type DU =
| Case1 of x : (int * int) * y: int // BUG. Intellisense shows DU.Case1: x: int * int * y: int -> DU
| Case2 of x: int * int * y: int // Intellisense shows DU.Case2: x: int * int * y: int -> DU
```
Contributor guide
Assessment
This issue has not been assessed yet.