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,814577151c84863d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-19 11:48:52 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: which compiler is right? Date: Fri, 19 Mar 2004 13:48:33 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <105mjl3j2jd8v09@corp.supernews.com> References: <105iblbigdett75@corp.supernews.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:6452 Date: 2004-03-19T13:48:33-06:00 List-Id: "Adam Beneschan" wrote in message news:b4682ab7.0403181233.68d63fb5@posting.google.com... > "Randy Brukardt" wrote in message news:<105iblbigdett75@corp.supernews.com>... > > That's so that a type declared > > in a body can have overriding routines, even though it can't have > > primitives. Scopes have absolutely nothing to do with overriding (look at > > 8.3 again if you don't believe me). > > Sorry, I looked at it and I still don't believe you. 8.3(9) says that > a declaration can override another homograph if the declaration > "occurs immediately within the same declarative region", etc. The > term "immediately within a declarative region" is defined by 8.1(13) > and most definitely has to do with scopes. If you declare a routine > in a nested inner package, it cannot override a routine declared > (implicitly or explicitly) in an outer package, because the routine in > the inner package is not *immediately* declared in the same > declarative region as the routine declared in the outer package. I'm going to reply to this on Ada-Comment, so that it gets on the permanent record, and gets filed in the AI. Randy.