Rob Hoelz <[EMAIL PROTECTED]> wrote:

> Hello Smalltalkers,
> 
> Kind of a thought experiment here, but is the behavior for
> recompiling a method while it's on the stack defined?  For example:
> 
> Object subclass: Foo [
>   foo [
>     Transcript print: 1; cr.
>     reloadSource.
>     Transcript print: 2; cr.
>   ]
> 
>   reloadSource [
>     FileStream fileIn: 'test.st'.
>   ]
> ]
> 
> |f|
> 
> f := Foo new.
> f foo.
> 
> I ran this, but did kind of an infinite loop thing.  Is this a bug, or
> is something like this supposed to happen?
> 
> Thanks,
> Rob Hoelz
> 

Nevermind...I need to look at my code a little more closely...


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to