src/ledger/upgrade.bend fails
raw source on the hub · import ezx@1.8.0.0/src/ledger/upgrade.bend as Upgrade
ledger/upgrade: what ez lock --upgrade may do to one dependency, before
it talks to a remote. The ledger pins exact commits. A tag is the only
floating name a person wrote down, so that is what gets re-resolved. A pin
with no tag fast-forwards to the default branch tip when the commit is an
ancestor of it, and stays a commit pin. A hub package is the hash itself.
vend says the tree under .ez/lib/<hash> is committed, so a move lays the
new tree there; the allowlist that names it is ledger/ignore.bend's,
derived from the ledger the move writes. A move also rewrites an
import 0x<hash>/ line that names the old hash.
2 imports
import Base import ./manifest.bend as M
The reader could not load this file (at 0x4490025e819484fce79cfe7c28a0963b/src/ledger/manifest.bend:31). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Tool)
- observed : 'Tool'
Location:
30 | # not be the one.
31>| type Tool is Data:
| ^^^^
32 | Tool{name: String, entry: String, bin: String, source: Source}