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


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

Reply via email to