Re: message overriding bug
Jan-Paul Bultmann <[email protected]>
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
Hm, why are there slots defined on the locals object anyways? Locals are the containers, that hold local variable assignments in methods right? This seems like a horrible horrible bug source to me. Cheers Jan On Jul 10, 2011, at 11:58 PM, Steve Dekorte wrote: > > I think "message" is a slot defined on locals so the lookup doesn't continue to the object. > > On 2011-07-09 Sat, at 12:17 PM, Jan-Paul Bultmann wrote: > > > Seems like inheritance and message lookup are broken in this case. > > > > Cheers Jan > > > > Io> A message := 5 > > ==> 5 > > Io> A message > > ==> 5 > > Io> A m := method(message + 5) > > ==> method( > > message + 5 > > ) > > Io> A m > > > > Exception: nil does not respond to '+' > > --------- > > nil + Command Line 1 > > A m Command Line 1 > > > > Io> > > > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > >