Skip to content

Pick up the selection range chain fix, with a test through the real transformer - #20

Merged
thomasjm merged 3 commits into
masterfrom
selection-range-chain
Oct 22, 2026
Merged

thomasjm merged 3 commits into
masterfrom
selection-range-chain

Conversation

@thomasjm

@thomasjm thomasjm commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

textDocument/selectionRange answered [] at every position, because every chain reaches the fn main() { the shadow document adds and the whole chain was required to map back. The fix is in notebook-language-server-core (#8 there); this moves the pin to it and releases 0.2.7.1.

Adds test/Test/SelectionRange.hs, covering both the request and response paths against the real StripDirective :> HeadTailTransformer — the bug only shows up once the chain meets a wrapper like this one's. Against the pre-fix core, the two response tests fail with But got: [].

@thomasjm
thomasjm merged commit 4415601 into master Oct 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant