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,4d972ac0c79198a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-16 16:47:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!ngpeer.news.aol.com!newsfeed1!bredband!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Generic child units Date: Fri, 16 May 2003 23:47:28 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3ec12f93$1@epflnews.epfl.ch> <3ec1f6ab$1@epflnews.epfl.ch> NNTP-Posting-Host: d2-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1053128848 26492 134.91.1.15 (16 May 2003 23:47:28 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 16 May 2003 23:47:28 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/831)) Xref: archiver1.google.com comp.lang.ada:37416 Date: 2003-05-16T23:47:28+00:00 List-Id: Stephen Leake wrote: : Robert A Duff writes: : :> Rodrigo Garc?a writes: :> :> > Stephen Leake wrote: : :> > > with Parent.Child; :> > > procedure Foo is :> > > package Par is new Parent (Elem => Integer); :> > > package Chi is new Par.Child; :> > > begin :> > > ... :> > > end Foo; :> :> Here's the AARM text: :> :> 18 A child of a parent generic package shall be instantiated or renamed :> only within the declarative region of the parent generic. : : But in my code above, Chi is an instantiation of "a child of a parent : generic package", and it is _not_ "within the declarative region of : the parent generic". Isn't the declarative region of Parent included by "with Parent.Child"? -- Georg