Fwd: [squeak-dev] [FIX] MessageNotUnderstood: UndefinedObject>>something

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [squeak-dev] [FIX] MessageNotUnderstood: UndefinedObject>>something

Damien Cassou
Seen on squeak-dev and submitted to the Pharo tracker:
http://code.google.com/p/pharo/issues/detail?id=898


---------- Forwarded message ----------
From: Bert Freudenberg <[hidden email]>
Date: Wed, Jun 17, 2009 at 1:55 PM
Subject: [squeak-dev] [FIX] MessageNotUnderstood: UndefinedObject>>something
To: The general-purpose Squeak developers list
<[hidden email]>


Hi folks,

we have all seen numerous questions from newbies like this:

On 17.06.2009, at 13:25, Bert Freudenberg wrote:
>
> On 17.06.2009, at 12:56, Tim Patti wrote:
>>
>> I'm getting a debug window with MessageNotUnderstood: UndefinedObject>>binary.
>
> Which tells you that "fileHandle" is nil.

IMHO it would help if we special-cased the MNU text for a nil
receiver. In that case, I propose the message should read

       MessageNotUnderstood: receiver of "something" is nil

which might point beginners to the actual cause.

Attaching proposed fix.

- Bert -







--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

nilMNU-bf.1.cs.gz (590 bytes) Download Attachment