dotnet / dotnet/fsharp

Inline parameter name hints work weirdly with slices

Open
#15,994 0 comments 0 reactions 0 assignees View on GitHub
Area-LangService-Hints Bug Impact-Medium
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

This code:
```fsharp
let collection = [ 0; 1; 2 ]
let test = collection[1..]
```
Produces the following hint:
![image](https://user-images.githubusercontent.com/5451366/268652654-3e953905-2594-40ec-ab47-9b19b84c1d96.png)

Shouldn't be there really.

_Originally posted by @xperiandri in https://github.com/dotnet/fsharp/issues/14401#issuecomment-1721503196_

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.