bolt/lsp/server.bend fails
raw source on the hub · import 0x729eecea86ea5a2cdba3a2856a313bca/bolt/lsp/server.bend as Server
lsp/server: the loop. Everything outside the process is an injected core service: the transport the messages ride on, the checker behind the diagnostics, the files behind imports and Base. The open documents are the loop's state. Diagnostics run on open and save, against the file on disk.
17 imports
import Base import ../../json/value.bend as J import ../../json/parse.bend as Parse import ../../json/print.bend as Print import ./proto.bend as Proto import ./docs.bend as Docs import ./nav.bend as Nav import ./semantic.bend as Semantic import ../rules.bend as Lint import ../finding.bend as Finding import ../config.bend as Config import ./transport/service.bend as T import ./checker/service.bend as C import ./files/service.bend as F import ./report.bend as Rep import ../../syntax/outline.bend as Outline import ../../syntax/word.bend as Word
The reader could not load this file (at 0x729eecea86ea5a2cdba3a2856a313bca/bolt/lsp/frame.bend:118). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
117 | More{}
118>| Ready{body: List<&2, U32>, rest: List<&2, U32>}
| ^^^^^
119 |