Path: utzoo!mnetor!uunet!mcvax!unido!iraun1!iraul1!norbert From: norbert@iraul1.ira.uka.de (Norbert Lindenberg) Newsgroups: comp.sys.mac.programmer Subject: Bug in MPW 2.0.2 Link tool Message-ID: <528@iraun1.ira.uka.de> Date: 19 Apr 88 18:12:03 GMT Sender: news@iraun1.ira.uka.de Reply-To: norbert@iraul1.ira.uka.de (Norbert Lindenberg) Organization: University of Karlsruhe, W.-Germany Lines: 16 One bug seems to have been fixed in the MPW 2.0.2 Link tool, but I discovered yet another one. The bug occurs if you declare an object type in the implementation part of a unit and define a new method for this type (new as opposed to overriding a superclass method), and let the linker optimize method calls (-opt option). The new method does not show up in the method table listing produced with the -p option, and the linker still produces a %_SelProcs segment. According to MacApp DA newsletter 1/5, this segment should never be present in an optimized program. When I start the program, it drops into MacsBug with a User break: Method not found message when the new method is called. Any comments, Larry or Jordan? -- Norbert