> Trying to port the Squeak JSON package I came across
> rather strange behaviour. One of the classes, JsonObject, is
> a subclass of dictionary. I noticed that subclassing Dictionary
> would throw an error:

This is the same that you get in Squeak if you use #subclass: instead
of #variableSubclass: etc.

You can put this in the body of the class:

    <shape: #inherit>

and it will fix the problem.

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to