ordinary_app_execution_run.bend fails
raw source on the hub · import bendvy-ecs-core@0.1.0.0/ordinary_app_execution_run.bend as Ordinary_app_execution_run
23 imports
import Base import ./change_tick.bend as Tick import ./machine_handler_context.bend as HandlerContext import ./machine_handler_engine.bend as HandlerEngine import ./machine_handlers.bend as Handlers import ./machine.bend as Machine import ./machine_world.bend as MachineWorld import ./ordinary_machine_declaration.bend as MachineDecl import ./ordinary_owned_event_family_publisher.bend as Publisher import ./ordinary_owned_event_declaration.bend as Events import ./execution_context.bend as Ctx import ./trace_facts.bend as Facts import ./system.bend as Sys import ./world.bend as W import ./ordinary_app_registration_run.bend as Run import ./transaction.bend as T import ./ordinary_resource_field_system.bend as Field import ./ordinary_app_resource_field_declaration.bend as D import ./ordinary_system.bend as Component import ./ordinary_query_observable.bend as O import ./compose.bend as Q import ./inspector.bend as I import ./ordinary_app_registration_fields.bend as Records
The reader could not load this file (at 0x296ca5f551e3792cd56cfc8122905b94/machine_handler_engine.bend:15). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
14 | Idle{slot:M.Slot<S,K,V>}
15>| Ready{slot:M.Slot<S,K,V>,transition:M.Transition<V>,skipSame:Bool}
| ^^^^^
16 | def prepend(~S:Data,~State:Type,~Entry:Type,~Phase:Data,~V:Data,~invoke:Entry -> State -> Phase -> V -> V -> Entry & Sys.Outcome<State,String,Unit>,~initial:Entry -> State -> V -> Entry & Sys.Outcome<State,String,Unit>,~exitPhase:Phase,~transitionPhase:Phase,~enterPhase:Phase,head:Entry,tail:PhaseResult<State,Entry>) -> PhaseResult<State,Entry>: