Challenge (was: Re: [Squeak 0003836]: nil ~= 1and: [1 isNil] is parsed+compiled without complaint)

Bert Freudenberg bert at impara.de
Thu Jul 13 10:39:53 UTC 2006


Heh. My favourite strange expression is this:

# "hi there" :== '_'

1) Who can guess what the result is WITHOUT trying it?
2) Who can explain what's happening?
3) Do we need to fix it?

- Bert -


Am 13.07.2006 um 06:45 schrieb Klaus D. Witzel:

> Thank you Marcus, for your good work.
>
> I agree, the community doesn't see this one as a bug. I keep a  
> local patch for a more rigor view on "what is quality source code  
> and how can tools help to achieve quality".
>
> /Klaus
>
> On Wed, 12 Jul 2006 22:00:06 +0200, <bugs at impara.de> wrote:
>
>>
>> The following issue has been CLOSED
>> ===================================================================== 
>> =
>> http://bugs.impara.de/view.php?id=3836
>> ===================================================================== 
>> =
>> Reported By:                kwl
>> Assigned To:
>> ===================================================================== 
>> =
>> Project:                    Squeak
>> Issue ID:                   3836
>> Category:                   Compiler
>> Reproducibility:            always
>> Severity:                   major
>> Priority:                   normal
>> Status:                     closed
>> Resolution:                 open
>> Fixed in Version:
>> ===================================================================== 
>> =
>> Date Submitted:             06-22-2006 10:41 MEST
>> Last Modified:              07-12-2006 22:00 MEST
>> ===================================================================== 
>> =
>> Summary:                    nil ~= 1and: [1 isNil] is parsed 
>> +compiled without
>> complaint
>> Description:
>> the expression
>>
>>  nil ~= 1and: [1 isNil]
>>
>> is parsed+compiled without complaint but it has a syntax error.
>> ===================================================================== 
>> =
>>
>> --------------------------------------------------------------------- 
>> -
>>  MarcusDenker - 07-12-06 22:00
>> --------------------------------------------------------------------- 
>> -
>> no bug. compiler is very generous to accept code that is formated  
>> strangely
>>
>> Issue History
>> Date Modified   Username       Field                    Change
>> ===================================================================== 
>> =
>> 06-22-06 10:41  kwl            New Issue
>> 06-22-06 15:31  mathk          Issue Monitored: mathk
>> 07-12-06 22:00  MarcusDenker   Status                   new => closed
>> 07-12-06 22:00  MarcusDenker   Note Added: 0005814
>> ===================================================================== 
>> =
>>
>
>





More information about the Squeak-dev mailing list