haskell / haskell/haskell-language-server

Codelens eval should not interact with IO

未关闭
#461 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component: hls-eval-plugin type: enhancement
主要语言
Haskell
星标
3k
派生
455
平均合并
2 天 19 小时
30 天内合并 PR
11

描述

### Subject of the issue
`-- >>> getChar` actually returns a value. It seems to be reading the characters from the link between the server and editor. However it does not seem to cause any crashes or ruin the link, on my editor at least. `putStr` etc. might also possibly be doing something unexpected although it does not seem to produce any noticeable effects on the editor.

### Your environment
`neovim 4.4`, `coc.nvim`.

The codelens eval should perhaps perform some pre-processing and get rid of any IO first, just to be safe.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。