bolt/rules/style/space.bend fails
raw source on the hub · import 0x729eecea86ea5a2cdba3a2856a313bca/bolt/rules/style/space.bend as Space
rule space: trailing whitespace, a tab, or a line over 120 characters. The
width counts a string literal as two characters: a long message or a test
fixture does not make a line hard to read, code does. Expectation trailers
(#| lines) are data and exempt.
4 imports
import Base import ../../src.bend as Src import ../../finding.bend as F import ../../../syntax/lex.bend as Lex
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}