src/ws/pin.bend fails
raw source on the hub · import ezx@1.11.0.0/src/ws/pin.bend as Pin
ws/pin: the ref ez add in a workspace member takes (EZ-WS-4). A git source
has one pin across a workspace, so a member adding a source another member
already records takes that pin: with no ref, the tag it records, or its
commit when it records none; with the tag or commit it records, that; with
any other ref, nothing, since moving the source is an upgrade of every
member that records it. A source no member records, and a hub package, take
the ref as it was given.
6 imports
import Base import ../ledger/manifest.bend as M import ../pkg/path.bend as P import ../ez/target.bend as Tgt import ../add/world.bend as A import ./joint.bend as J
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}