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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7cc62a3e4497b0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-11 10:28:12 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: Subject: Re: Q: generic children of generic packages? Message-ID: <%b7V6.4043$pb1.154477@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Mon, 11 Jun 2001 13:27:23 EDT Organization: http://www.newsranger.com Date: Mon, 11 Jun 2001 17:27:23 GMT Xref: archiver1.google.com comp.lang.ada:8560 Date: 2001-06-11T17:27:23+00:00 List-Id: In article , Steve Vestal says... > >I'm trying to do something like: > > generic ... > package Generic_Stuff is ... > private ... > end Generic_Stuff; > > generic ... > package Generic_Stuff.Generic_IO is ... > end Generic_Stuff.Generic_IO; > >Does anyone know how to make this work? (My intuition was that an It looks fine to me. The precise nature of your problem might be a bit clearer if you specified the exact error you are getting (and the source surrounding that line). My guess is that you are actually having instantiation troubles. Remember that you have to instantiate the child generic from an *instance* of the parent generic, not from the parent generic itself. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com