doesNotUnderstand:
talksmall <[email protected]> Mon, 16 Jun 2008 14:17:39 -0700 (PDT)
| Newsgroups | gmane.comp.lang.smalltalk.strongtalk |
|---|---|
| Message-ID | <fa019a2e-ae64-48d5-8094-02104d0a414b@y38g2000hsy.googlegroups.com> |
I've checked in a change to fix some of the problems with doesNotUnderstand:. Before the change although doesNotUnderstand: was being called for interpreted lookups, the result returned (if any) was never used. If you overrode doesNotUnderstand: in a subclass to return a value the value was discarded and the VM would end up in an endless loop, repeating the call, or it would result in a stack overflow. Performs would not call doesNotUnderstand: at all. Neither would compiled methods. The first two cases are now solved - doesNotUnderstand: is called and behaves correctly for interpreted lookups and for performs. I still need to fix the compiled code case. If you want to check out the change, you will need to use the gcc- linux branch. Since the full build also runs the C++ tests for the VM, you will need to file in DoesNotUnderstandFixture.dlt from StrongtalkSource and save your image, if you want a clean build. Regards, Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Strongtalk-general" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en -~----------~----~----~----~------~----~------~--~---