Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

no handler for ... #16

Open
ta3pks opened this issue Apr 15, 2019 · 0 comments
Open

no handler for ... #16

ta3pks opened this issue Apr 15, 2019 · 0 comments

Comments

@ta3pks
Copy link

ta3pks commented Apr 15, 2019

when it starts it just fails with error

[LC] [Error] haskell-lsp:no handler for. Object (fromList [("jsonrpc",String "2.0"),("params",Object (fromList [("textDocument",Object (fromList [("languageId",String "elm"),("text",String "m odule HTTP exposing (main)\n\nimport Browser\nimport Html exposing (Html, div)\nimport Http\n\n\ntype alias Model =\n    { txt : String }\n\n\ntype Msg\n    = Get\n    | Got (Result Http.Erro r String)\n\n\nupdate : Msg -> Model -> ( Model, Cmd Msg )\nupdate msg model =\n    --{{{\n    case msg of\n        Get ->\n            ( model, Cmd.none )\n\n        Got m ->\n            ca se m of\n                Ok s ->\n                    ( { model | txt = s }, Cmd.none )\n\n                Err _ ->\n                    ( model, Cmd.none )\n\n\n\n--}}}\n\n\ninit : () -> ( M odel, Cmd Msg )\ninit _ =\n    ( Model \"\", Cmd.none )\n\n\nview : Model -> Html Msg\nview model =\n    div [] []\n\n\nsubscriptions : Model -> Sub msg\nsubscriptions model =\n    Sub.none\n \n\nmain =\n    Browser.element { init = init, view = view, update = update, subscriptions = subscriptions }\n"),("uri",String "file:///home/nikos/projects/elm_interface/src/HTTP.elm"),("vers ion",Number 0.0)]))])),("method",String "textDocument/didOpen")])
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant