UpdatedPharoByExample icon indicating copy to clipboard operation
UpdatedPharoByExample copied to clipboard

Problem With Sample Code Section 13.7

Open danshafer opened this issue 7 years ago • 1 comments

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.

danshafer avatar Apr 17 '17 05:04 danshafer

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.

nicolaihess avatar Apr 17 '17 09:04 nicolaihess