Skip to content

Internal error when hovering over a member with an apostrophe in the Feliz library #14792

@mrakgr

Description

@mrakgr

Hovering over the prop.type' of the Feliz library gives an internal error instead of its proper description. See related issue for more info.

Repro steps

First, install the Feliz.Template.

PS E:\Webdev\Fable\feliz-bug> dotnet new install Feliz.Template
The following template packages will be installed:
   Feliz.Template

Success: Feliz.Template::4.2.0 installed the following templates:
Template Name   Short Name  Language  Tags
--------------  ----------  --------  ------------------
Feliz template  feliz       F#        Fable/Elmish/React

PS E:\Webdev\Fable\feliz-bug> dotnet new feliz
The template "Feliz template" was created successfully.

PS E:\Webdev\Fable\feliz-bug> dotnet restore
  Determining projects to restore...
  Restored E:\Webdev\Fable\feliz-bug\src\App.fsproj (in 1.06 sec).

Then in one of the files put something like this:

module Main

open Feliz
prop.type'

Once you hover over prop.type' with the mouse you should see the error: internal error: 'doc/members/member[@name='M:Feliz.prop.type'(System.String)']' has an invalid token..

Related information

The same error manifests in both VS and VSC.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions