Skip to content

Inline parameter name hints work weirdly with slices #15994

@psfinaki

Description

@psfinaki

This code:

let collection = [ 0; 1; 2 ]
let test = collection[1..]

Produces the following hint:
image

Shouldn't be there really.

Originally posted by @xperiandri in #14401 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-HintsF# hints inspired by C# inline hintsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No fields configured for Bug.

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions