You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
The LSP spec allows either MarkedString, []MarkedString, or MarkupContent for Hover.contents. The go-langserver sends a []MarkedString, so there is no issue there. Python-language-server however send a MarkedString and the unmarshal fails with this error:
json: cannot unmarshal string into Go struct field Hover.contents of type []lsp.MarkedString
This is part of a more general issue of how encoding/json package unmarshals slices (issue golang/go#19854).
The text was updated successfully, but these errors were encountered:
The LSP spec allows either MarkedString, []MarkedString, or MarkupContent for Hover.contents. The go-langserver sends a []MarkedString, so there is no issue there. Python-language-server however send a MarkedString and the unmarshal fails with this error:
This is part of a more general issue of how
encoding/json
package unmarshals slices (issue golang/go#19854).The text was updated successfully, but these errors were encountered: