dotnet / dotnet/fsharp

Extra code completion items in short lambda

Open
#17,162 0 comments 1 reaction 0 assignees View on GitHub
Area-LangService-AutoComplete Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

```fsharp
type R =
{ Field: int }
member this.P = 1

let i = 1
let r: R = Unchecked.defaultof<_>

[r] |> List.map _.
```

There're unexpected `i` and `r` items in the code completion popup:
Screenshot 2024-05-16 at 18 22 09

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.