src/ws/run.bend fails
raw source on the hub · import ezx@1.11.0.0/src/ws/run.bend as Run
ws/run: the interpreter's half of workspaces. It reads what the root search
asks for (ws/root.bend) and runs the hop ws/hop.bend decides, and for ez
lock it reads every ez.toml git lists under a workspace root so that
ws/joint.bend can join them. It decides nothing: where the root is, whether
to run again there, which ledgers are members and what the lock is planned
from are the pure modules'. That it reads and runs faithfully is
EZ-TRUST-2. It runs programs, so no law imports it.
18 imports
import Base import 0x8e26a6f8c31689519e618374376ee3dd/main.bend as Sn import ../io/file.bend as F import ../share/args.bend as Args import ../share/pass.bend as Pass import ../ledger/render.bend as Rend import ./workspace.bend as W import ./root.bend as R import ./hop.bend as H import ./joint.bend as J import ./up.bend as U import ./pin.bend as Pin import ../ledger/manifest.bend as M import ../pkg/path.bend as P import ../pkg/pkg.bend as K import ../lock/world.bend as LW import ./doctor.bend as Doc import ./relock.bend as Rel
The reader could not load this file (at 0x8d817ff76bee5f8a754f0b8cceb7d07a/src/ledger/manifest.bend:41). What bend.ts says:
Error:
- expected : a fresh name (duplicate declaration: Tool)
- observed : 'Tool'
Location:
40 | # not be the one.
41>| type Tool is Data:
| ^^^^
42 | Tool{name: String, entry: String, bin: String, source: Source}