haskell / haskell/lsp

Changelog for lsp-types-1.5 doesn't mention switch to text-rope

Open
#440 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

`dhall-lsp-server` is showing a build failure related to this:

```
src/Dhall/LSP/Handlers.hs:94:60: error:
• Couldn't match expected type ‘Rope.Rope’
with actual type ‘text-rope-0.2:Data.Text.Utf16.Rope.Rope’
NB: ‘text-rope-0.2:Data.Text.Utf16.Rope.Rope’
is defined in ‘Data.Text.Utf16.Rope’ in package ‘text-rope-0.2’
‘Rope.Rope’
is defined in ‘Data.Rope.UTF16.Internal’
in package ‘rope-utf16-splay-0.3.2.0’
• In the first argument of ‘Rope.toText’, namely ‘rope’
In the first argument of ‘return’, namely ‘(Rope.toText rope)’
In the expression: return (Rope.toText rope)
|
94 | Just (LSP.VirtualFile _ _ rope) -> return (Rope.toText rope)
| ^^^^
```

Contributor guide

Open the contributing guide

Research direction

Inspect the changelog entry for lsp-types-1.5 and compare it with the reported dhall-lsp-server build error in src/Dhall/LSP/Handlers.hs:94. Document the switch from rope-utf16-splay to text-rope and confirm that the dependency change and its compatibility impact are stated.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.