True>>ifFalse: and False>>ifTrue: returning nil

Julian Fitzell julian at beta4.com
Wed Sep 3 23:18:31 UTC 2003


Does anyone know why True>>ifFalse: returns nil instead of self like, 
say, ProtoObject>>ifNil: does?  My understanding was that the #ifFoo: 
methods would all evaluate the parameter if the assertion was correct 
and return self otherwise.  Is there a reason for this or is it a bug?

Julian



More information about the Squeak-dev mailing list