From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:620a:1439:: with SMTP id k25mr21700706qkj.439.1619632673636; Wed, 28 Apr 2021 10:57:53 -0700 (PDT) X-Received: by 2002:a25:424e:: with SMTP id p75mr27001297yba.161.1619632673483; Wed, 28 Apr 2021 10:57:53 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 28 Apr 2021 10:57:53 -0700 (PDT) In-Reply-To: <6015b52f-992e-48ce-a9b8-11d7a02bfa63n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=94.31.102.170; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.102.170 References: <78fd99c3-538d-4981-af11-c1885df36575n@googlegroups.com> <77699289-3e50-4fae-a416-8ce11965f368n@googlegroups.com> <984f3661-59bb-4c09-a686-d456979c54a7n@googlegroups.com> <6015b52f-992e-48ce-a9b8-11d7a02bfa63n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5ddc47ad-8f60-47b5-a01a-ae4f928c924an@googlegroups.com> Subject: Re: [Ada95] Private non-generic children of generics not allowed From: AdaMagica Injection-Date: Wed, 28 Apr 2021 17:57:53 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61926 List-Id: Vincent Marciante schrieb am Mittwoch, 28. April 2021 um 14:09:23 UTC+2: > Currently, one would have to make the private child unit generic and then instantiate > it in the body of the parent at a place were all subunits that require its use can see it, The body of the parent is invisible to all children. It's the other way round: The body of the parent can with child units. You have to instantiate a private child unit in the private part of the parent's spec to make it visible to all other children (this is a simplified description of the facts). Randy can perhaps say more about your ideas. Post this question to Ada Comment.