ledger/manifest.bend fails
raw source on the hub · import ezx@1.3.0.0/ledger/manifest.bend as Manifest
ezx: ez's ledger library for Bend 2: it parses an ez.toml into its package, dependencies and pinned tools.
ledger/manifest: the dependency ledger. Bend's import lines carry a bare
0x<hash>, which says nothing about what the package is or where it came
from, and nothing in a repo lists them. ez.toml is that list: every package
the repo imports, by name, with its hash and its origin.
2 imports
import Base import ../toml/toml.bend as T
The reader could not load this file (at 0x046551eff0d59a82cf10d858b17b0c84/ledger/manifest.bend:32). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Tool)
- observed : 'Tool'
Location:
31 | # not be the one.
32>| type Tool is Data:
| ^^^^
33 | Tool{name: String, entry: String, bin: String, source: Source}