Skip to content

Inline parameter name hints work weirdly with indexes #14401

@psfinaki

Description

@psfinaki

Split method has two parameters but shows parameter hints at weird places when indexes are used:

image

Thanks @vzarytovskii for spotting.

Code for testing/copypasting
open System
open System.Text.RegularExpressions

let regex = Regex.Match("blah", "lah")
let group = regex.Groups[0]
let thisIsFine = group.Value.Split("")

let thisIsWeird = regex.Groups[0].Value.Split("")

let thisIsAlsoWeird = regex.Groups[0].Value.Split("", StringSplitOptions.None)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions