def failure_read_build
bendvy-ecs-core@0.1.0.3 · execution_builder.bend:148
import bendvy-ecs-core@0.1.0.3/execution_builder.bend as ExecutionBuilder
import Base
import bendvy-ecs-core@0.1.0.3/execution_relation_failure_provider.bend as FailureProvider
import bendvy-ecs-core@0.1.0.3/execution_relation_failure_access.bend as FailureAccess
import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as RelationStore
import bendvy-ecs-core@0.1.0.3/execution_resource_policy.bend as Policy
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/execution_state.bend as State
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/execution_layout_access.bend as LayoutAccess
import bendvy-ecs-core@0.1.0.3/execution_declaration.bend as D
148def failure_read_build(~S:Data,~C:Type,~R:Type,~full:Layout.Layout,~route:Layout.Route,~valid:{Layout.grant_valid(~full,~route) == True{} : Bool},~descriptor:T.Descriptor<S>,~payload:{Layout.payload(full,route) == RelationStore.Store<S,descriptor> : Type},~view:{Layout.view(full,route) == RelationStore.View<S,descriptor> : Data},~protected:{Layout.policy(full,route) == Policy.ProtectedRelation{S,descriptor} : Policy.Policy},~local:Layout.Layout,~selected:Layout.Route,~same:{R == Layout.resources(~S,local) : Type},~localvalid:{Layout.grant_valid(~local,~selected) == True{} : Bool},~slot:{LayoutAccess.resource_slot(~S,local,selected) == FailureProvider.Slot(~S,~full,~route,~descriptor) : Type},book:Book) -> Book & FailureAccess.Read<S,descriptor,full,route,State.Scope<S,C,R>>:
149 accumulate(S,C,R,FailureAccess.Ops(~S,~descriptor,~full,~route),book,D.Declaration{FailureProvider.whole(~S,~C,~R,~full,~route,~valid,~descriptor,~payload,~view,~protected,~local,~selected,~same,~localvalid,~slot),[D.Access{Layout.key(full,route),D.ResourceAccess{},D.SharedView{},D.ReadOnly{}}]})