I'm missing something here...
I tried implementing:
MyNullClass>>#ifNil: nilBlock ifNotNil: notNilBlock
nilBlock value.
But the notNilBlock is evaluated. I'm assuming it's being inlined. Is that
right? How do I workaround?I also tried subclassing UndefinedObject, with the same result. Any ideas? ----- Cheers, Sean -- View this message in context: http://forum.world.st/Null-Object-Pattern-tp4738574.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
