Skip to content

GetToolTipText gets the same XML signature for several member overloads #6244

Description

@nightroman

As suggested by @baronfel I copy the issue from FSharp.Compiler.Service, see fsharp/fsharp-compiler-docs#800

Short description: for a method with several overloads, GetToolTipText incorrectly gets the same XML signature for all overloads. As a result, I cannot query proper info from XML afterwards, it is the same for different overloads.

Repro steps, full description, and the minimal code are provided there. There is also some discussion and the approximate location of the problem:

@vasily-kirichenko

I think the problem is at https://github.com/Microsoft/visualfsharp/blob/54c22cdea6e069db28d8dd16723e402e364aab44/src/fsharp/symbols/SymbolHelpers.fs#L622 where the first overload is always got (minfo :: _). However, it's not clear how to pick a right minfo there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions