UpdatedPharoByExample
UpdatedPharoByExample copied to clipboard
Problem With Sample Code Section 13.7
On p.245 of PBE5, I ran across a problem I can't solve. I don't think the problem is with the sample but I've double-checked my typing and deleted the offending method and re-entered it twice and still the bug occurs.
In DroppedMorph >> rejectDropMorphEvent: anEvent, there is a call to the WorldState class method "addDeferredUIMessage." This produces a walkback because the message is not understood by WorldState. It is clearly there when the WorldState class methods are browsed. My ST skills are a bit rusty but the call looks right unless Pharo has some specific syntax for referring to a class method.
Hi can you paste the error message (the first elements from the walkback)?
I just took the example code from the book and it is working for me.