Am 22.06.2006 um 18:27 schrieb trilobyte@hoe.nu:
Hi,
There is an annoying bug I've been running into on the 3.8-6665 image. It is totally reproducible from a stock image.
- Open the image, elect not to do updates.
- Open a workspace.
- doIt: Smalltalk at: myForm put: nil
- doIt: myForm _ Form extent: 100@100.
- Open a Browser.
- Middle-click in leftmost (class category) pane, search for
class Form. 7) Left-click on any category in the method category pane. 8) BOOM! MessageNotUnderstood: UndefinedObject>>beginsWith:
Seems to be something to do with _ to := conversion and the SystemDictionary. Maybe I'm doing something wrong that is making the system flake out, but I don't think so...?
Not a bug. You are putting nil as key into Smalltalk, which is simply a Bad Thing To Do. Stop doing that. Smalltalk keys must be *Symbols*. They should be uppercase, too:
Smalltalk at: #MyForm put: nil
To fix your image, do
Smalltalk removeKey: nil.
- Bert -