From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ebbca47c76670bb2,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-31 15:25:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!small.news.tele.dk!203.50.2.88!intgwlon.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Reemergence of predefined equality operator... User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X) Message-ID: Date: Wed, 31 Jul 2002 22:25:42 GMT NNTP-Posting-Host: 144.132.42.132 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 1028154342 144.132.42.132 (Thu, 01 Aug 2002 08:25:42 EST) NNTP-Posting-Date: Thu, 01 Aug 2002 08:25:42 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) Xref: archiver1.google.com comp.lang.ada:27541 Date: 2002-07-31T22:25:42+00:00 List-Id: I was demonstrating what i thought would be the reemergence of the predefined equality operator by doing... type text is... (record with length & chars, like bounded string) function "=" (a, b : text) return boolean; and generic type element is private; with function "=" (a, b : element) return boolean is <>; package... and after instantiating the generic with type text it kept calling the "=" defined for type text. I thought Ada (through a bad design decision) said that it should call the predefined "=" opertor in this instance. Has this been changed, or do have I misunderstood the problem? Dale