[squeak-dev] InputSensor, EventSensor miscategorised?
Frank Shearar
frank.shearar at gmail.com
Fri Jan 29 20:01:04 UTC 2016
On 29 January 2016 at 18:07, tim Rowledge <tim at rowledge.org> wrote:
>
>> On 29-01-2016, at 9:43 AM, Chris Muller <asqueaker at gmail.com> wrote:
>>
>> You can't unload a superclass without unloading its subclasses. So,
>> let me rephrase the question: How could EventSensor be unloaded and
>> then reloaded?
>
> Ah, wrong question in this case. I suggest that we don’t need to even consider the issue of unloading either sensor class since it would be better to clean things up and simply get rid of InputSensor completely.
In a Trunk image, only Smalltalk at: #Sensor points to EventSensor.
Nothing points to InputSensor. Nothing points to
EventPointerConstants.
So why not in a postload of ST80, evaluate
Environment current bind: #Sensor to: EventSensor
?
frank
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: DCBP: Detonate Chair on Bad Password
More information about the Squeak-dev
mailing list
|