[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: GNU Smalltalk Segfault with a Script I Wrote

From: Shlomi Fish
Subject: [Help-smalltalk] Re: GNU Smalltalk Segfault with a Script I Wrote
Date: Sat, 8 Jul 2006 00:30:46 +0300
User-agent: KMail/1.9.3

On Wednesday 07 June 2006 09:54, Paolo Bonzini wrote:
> Shlomi Fish wrote:
> > Hi!
> >
> > The attached script causes GNU Smalltalk (version 2.1.12, installed from
> > source) to crash. I'm using Mandriva 2006.
> You are not loading the SUnit package, so your MsfTest class a) does not
> implement #run: and b) derives from nil.  It is normal to have a crash
> if you call a method that is not understood by a class that does not
> implement #doesNotUnderstand:.

I see. That's not good. gst should never crash.

> I am currently thinking of a scripting syntax that will catch mistakes
> like this.
> It works if you add a
>     PackageLoader fileInPackage: #SUnit!
> line at the top, and change the last line to "t run".



        Shlomi Fish

Shlomi Fish      address@hidden

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]