Skip to content

eval not working after certain haskell code? #4707

@mdrslmr

Description

@mdrslmr

Hi,

I experienced, that some comments containing >>> are not evaluated in certain lines of my file. I tried to reproduce the behavior with this peace of code:

-- >>> 2 + 2
-- 4
myfunc :: [Int] -> String
-- >>> 2 + 2
-- 4
myfunc [] = ""
-- >>> 2 + 2
-- 4
myfunc [i] = show i
-- >>> 2 + 2
-- No "Refresh" or "Evaluate", no respone!
myfunc (i:is) = show i ++ ", " ++ myfunc is
-- >>> 2 + 2
-- No "Refresh" or "Evaluate", no respone!

I'm using archlinux, vim, coc, and haskell-language-server-wrapper.

I have first asked this question in coc.nvim, but it may be an issue with the hls?
neoclide/coc.nvim#5410

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-eval-plugintype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions