main.bend fails
raw source on the hub · import 0x74799d3f846634a3d7461d4336d7c9d4/main.bend as Main
ezx: ez, the package manager for Bend 2.
main: ez's program, and the entry the hub publishes as ezx. Building this
file builds the ez binary (bend main.bend -o ez), and a plain Bend file
that imports it and calls main builds the same binary. The program itself
is src/ez/main.bend; every module it reaches lives under src/, so the
LICENSE beside this file goes along with the package and nothing else sorts
before it. ez's ledger library, which reads an ez.toml, is
src/ledger/manifest.bend, importable from the package at that path.
2 imports
import Base import ./src/ez/main.bend as App
The reader could not load this file (at 0x74799d3f846634a3d7461d4336d7c9d4/src/add/hub.bend:87). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Wait)
- observed : 'Wait'
Location:
86 | Go{hash: String, files: List<&2, K.Item>, srcs: List<&2, String>}
87>| Wait{asks: List<&2, W.Ask>}
| ^^^^
88 | Stop{why: String}