src/lint/world.bend fails
raw source on the hub · import bolt@1.12.0.0/src/lint/world.bend as World
src/lint/world: everything bolt reads, as one value. The planner
(src/lint/plan.bend) is a pure function of a World; the interpreter
(src/lint.bend) gathers one, answering each question the planner asks by
IO, and prints the plan the planner returns. The design is
docs/rfc/bolt-lint-planner.md.
The World holds only what the lint reads: the paths named on the command line, the working directory they are named from, and every answer the interpreter gave. A question with no answer yet reads as a directory with no entries or a file that cannot be read.
2 imports
import Base import ../lazy/lazy.bend as Lazy
The reader could not load this file (at 0x582b4b0fdf3dafdeecc8c3bfddc5e4db/src/lint/world.bend:18). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
17 | Entries{dir: String}
18>| Text{path: String}
| ^^^^
19 |