[squeak-dev] I was surprised
Bob Arning
arning315 at comcast.net
Tue Jan 3 15:28:28 UTC 2017
Or by people making a mistake
'a' = 'a' | 'a' = 'b' ==> false
On 1/3/17 10:06 AM, Bert Freudenberg wrote:
> On Tue, Jan 3, 2017 at 1:17 PM, Bob Arning <arning315 at comcast.net
> <mailto:arning315 at comcast.net>> wrote:
>
> This has been this way for aeons, but it surprised me:
>
> false | 'hello' ==> 'hello'
>
> Does anything actually depend on this being this way?
>
> Unlikely. It's only ever used with booleans.
>
> - Bert -
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170103/a9001bfe/attachment.html>
More information about the Squeak-dev
mailing list
|