src/rules/style/param.bend fails
raw source on the hub · import 0xde9bb08f7de298b03207fb5797ede9a5/src/rules/style/param.bend as Param
rule param: a parameter name shorter than 2 characters. A single uppercase
letter is a type parameter (A, T), and a bare parameter or one typed
Quant is a quantity. Locals, pattern binders and a law's for names are
not parameters. A PROOF.bend's parameters are the names the law bound.
7 imports
import Base import ../../paths.bend as Paths import ../../src.bend as Src import ../../finding.bend as F import ../../syntax/bind.bend as Bind import ../../lazy/lazy.bend as Lazy import ../tokens.bend as T
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}