If you are not using blocks directly then the reason could be related to sorted collection which is usually created with sorted block. Here you also need convert sort block to message send with two args.
i’m not sure i understand what is going on.. it seems to be hung up trying to save SsStateMachine..
I am setting up the state machine on initialization using (where state machine is an instance variable):
setupStatemachine
| stCustomerIncomplete stNoImages stImagesAttached stSizeSelected stOrderComplete |
statemachine := SsStateMachine new.
stCustomerIncomplete := (statemachine addStateNamed: #stateCustomerIncomplete)
when: #toNext
guarded: [ customerComplete isNotNil ]
to: #stateNoImages.
and on and on with more states..
Free forum by Nabble | Edit this page |