Slice 1: parser, formatter and highlighters know the receiver header #506
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope: parser, AST, formatter, highlighter and TextMate grammar learn
receiver T from "path"as a contextual keyword, first statement only (receiverstays an identifier elsewhere). Commit 1 of the syntax change plus seed refresh (CLAUDE.md, Seed and breaking changes).Acceptance criteria:
receiver X from "./a"parses as a header only as the first statement;var receiver = 1andreceiver.xstill parse.Epic: #505. Design: PR #504 (docs/design/SCRIPT-RECEIVERS.md). End goal: hover/highlighting/go-to-definition in Forgejo for project.trb and imported scripts (browser LSP: orion/infra#2329).
Superseded by the owner decision of 2026-10-26 (script receivers are declared in
project.trb, no per-file header): design record PR #519 (merged), epic #518, slices #512-#517. Closing so the loop does not implement the retired header design. Reopen if the header design comes back.