src/rules/style/space.bend fails
raw source on the hub · import 0xde9bb08f7de298b03207fb5797ede9a5/src/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. A comment counts at
its full width. Expectation trailers (#| lines) are data and exempt from
the width only: trailing whitespace on a #| line is still reported. A tab
is reported wherever it sits, inside a string literal included. A line
with both trailing whitespace and a tab is reported once, for the
whitespace.
5 imports
import Base import ../../src.bend as Src import ../../finding.bend as F import ../../syntax/lex.bend as Lex import ../../lazy/lazy.bend as Lazy
The reader could not load this file (at 0xde9bb08f7de298b03207fb5797ede9a5/src/config.bend:32). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Set)
- observed : 'Set'
Location:
31 | # a name (a group's or a rule's) at a level
32>| type Set is Data:
| ^^^
33 | Set{name: String, level: Level}