Skip to content

Member completion uses wrong qualifier #18033

@auduchinok

Description

@auduchinok

Consider the following example:

let f (s: string) =
    s.Trim()
    s.Trim()
    s.Trim()
    ()

It's expected that the member code completion is the same after each s.Trim() invocation, however, members are suggested in the first case only, and the next two cases suggest unqualified items:

Image
Image

Initially reported in RIDER-120178.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-AutoCompleteautocomplete/intellisenseBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions