help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] [bug] "Behavior new new bla" crashes the VM


From: Gwenael Casaccio
Subject: Re: [Help-smalltalk] [bug] "Behavior new new bla" crashes the VM
Date: Wed, 05 Sep 2012 13:08:44 -0700

Issue status update for http://smalltalk.gnu.org/project/issue/657 Post a follow up: http://smalltalk.gnu.org/project/comments/add/657

Project:      GNU Smalltalk
Version:      <none>
Component:    VM
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  zecke
Updated by:   MrGwen
Status:       active

Instead of changing the vm lookup, why not adding a simple initialize
pattern,
method dictionary (and dnu) is a kind of contract between the image and
the vm. It is up to you to provide a good behavior (otherwhise the superclass could be an integer, or a loop in the between the superclasses, the instance
specification an object,
...).

You could also create a simple BehaviorBuilder:
https://github.com/MrGwen/gst-classbuilder/blob/master/Builder/BehaviorB...
(for instance)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]