Skip to content

Update hls-plugin-api on Hackage #404

Closed
@Galagora

Description

@Galagora

The current version fails to build with error:

src/Ide/Plugin/GhcIde.hs:42:7: error:
    Variable not in scope:
      executeAddSignatureCommand
        :: Language.Haskell.LSP.Core.LspFuncs Ide.Plugin.Config.Config
           -> IdeState
           -> ExecuteCommandParams
           -> IO
                (Either ResponseError Value,
                 Maybe (ServerMethod, ApplyWorkspaceEditParams))
   |
42 |     = executeAddSignatureCommand lf ide (ExecuteCommandParams "typesignature.add" (Just (List [toJSON params])) Nothing)
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

Updating this is the only straightforward way to build haskell-language-server in Nixpkgs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationcomponent: hls-plugin-apitype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions