From: merlyn@stonehenge.com (Randal L. Schwartz)
"Doug" == Doug Way dway@mat.net writes:
Doug> I noticed one minor downside to the Trampoline versus the
other methods,
Doug> which is that you can't pass messages to it which Object
happens to
Doug> understand, such as 'asString' (since the Trampoline uses Doug> #doesNotUnderstand:). I wonder if there's any way around that.
Have it return an object instantiated with a class with a superclass of nil. Look at ObjectTracer (I think that's it) for an example that works.
Yes, I think that's what I did:
UndefinedObject subclass: #Trampoline instanceVariableNames: 'collection iterationMessage ' classVariableNames: '' poolDictionaries: '' category: 'Collections-Support'
This may have gotten mangled between fixing a typo and creating the changeset. I hope the new changeset is better.
Marcel