src/ez/start.bend fails
raw source on the hub · import ezx@1.9.0.0/src/ez/start.bend as Start
ez/start: what ez check, ez build and ez run start, decided from the
ledger they read and the words they were given. Each starts one bend on
the entry the ledger names, or refuses and starts nothing when there is no
ez.toml or it does not parse, as cargo refuses a directory with no
Cargo.toml. The interpreter (ez/cmd.bend) reads ez.toml, puts the
project's BEND_LIB in front of the line (Env.line), runs it and exits;
that it does so faithfully is EZ-TRUST-2.
3 imports
import Base import ../ledger/manifest.bend as M import ../share/args.bend as Args
The reader could not load this file (at 0x53ca730219156b024641a00935516f18/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}