Skip to content

Single quote in function name in external library means xmldoc lookup fails #13817

@abelbraaksma

Description

@abelbraaksma

Basically, I see this with FsToolkit.ErrorHandling version 2.13 (unclear whether it happens to other members as well):

image

Repro steps

Use FsToolkit.ErrorHandling and type List.traver to get the list of traverseXXX functions. Scroll down to traverseValidationA' (the one with the ' (tick) in it). It'll show the above error.

Expected behavior

No error should be shown in the dropdown tooltips.

Actual behavior

See above. In text:

internal error: 'doc/members/member[@⁠name='M:FsToolkit.ErrorHandling.List.traverseValidationA'``3(Microsoft.FSharp.Core.FSharpResult{Microsoft.FSharp.Collections.FSharpList{``0},Microsoft.FSharp.Collections.FSharpList{``1}},Microsoft.FSharp.Core.FSharpFunc{``2,Microsoft.FSharp.Core.FSharpResult{``0,Microsoft.FSharp.Collections.FSharpList{``1}}},Microsoft.FSharp.Collections.FSharpList{``2})']' has an invalid token.

Known workarounds

None

Related information

Latest non-preview VS 2022.

Note that if you copy the actual code of that function locally, the same error does not appear.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions