src/lsp/frame.bend fails
raw source on the hub · import 0xde9bb08f7de298b03207fb5797ede9a5/src/lsp/frame.bend as Frame
lsp/frame: LSP's base protocol, purely: Content-Length: N\r\n\r\n and then
N bytes of UTF-8. Framing counts bytes and a read may end inside a char, so
the transport reads bytes, cuts on bytes, and only then decodes.
1 import
import Base
The reader could not load this file (at 0xde9bb08f7de298b03207fb5797ede9a5/src/lsp/frame.bend:295). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
294 | More{}
295>| Ready{body: List<&2, U32>, rest: List<&2, U32>}
| ^^^^^
296 |