main.bend fails
raw source on the hub · import ezx@1.11.0.0/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 0xa4d47e5f0f6044ac1a983d1b051fa47a/src/step.bend:16). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Lost)
- observed : 'Lost'
Location:
15 | Kept{value: A}
16>| Lost{line: String}
| ^^^^
17 |