bolt/rules/style/doc.bend fails
raw source on the hub · import 0x729eecea86ea5a2cdba3a2856a313bca/bolt/rules/style/doc.bend as Doc
rule doc: every top-level def, type and law has a comment block right above
it. Helpers (dotted names like show.go) ride on their parent's doc, main
needs none, PROOF.bend fills laws that LAWS.bend already documents, and a
test (under tests/) is documented by its header and its check names.
5 imports
import Base import ../../src.bend as Src import ../../finding.bend as F import ../../../syntax/outline.bend as Outline import ../../../lazy/lazy.bend as Lazy
The reader could not load this file (at 0x729eecea86ea5a2cdba3a2856a313bca/bolt/config.bend:31). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Set)
- observed : 'Set'
Location:
30 | # a name (a group's or a rule's) at a level
31>| type Set is Data:
| ^^^
32 | Set{name: String, level: Level}