From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Calling inherited primitive operations in Ada Date: Thu, 1 Sep 2022 15:37:12 +0200 Organization: A noiseless patient Spider Message-ID: References: <67b32db0-c4db-466c-ac13-e597e008c762n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 1 Sep 2022 13:37:13 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="45300621dee1fc91cb38e31b4cd7878a"; logging-data="2318267"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pdLa1iOlNEqOSOALep3Q7GkCrssbSf2Y=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cancel-Lock: sha1:yktkDKd1un63gsZQtkIR4CQ9b30= Content-Language: en-US In-Reply-To: Xref: reader01.eternal-september.org comp.lang.ada:64255 List-Id: On 2022-09-01 14:37, Dmitry A. Kazakov wrote: > Toy problem ignored. >> Can anyone provide real examples where this is a problem? > > Defaulted formal package actual part: > >    generic >       package Foo is new Bar (<>); >    package Baz is ... >       -- What were these actuals in Foo? 1. The actuals of Foo are visible within Baz. 2. This is not a real example. 3. You have changed the subject from needing to rename a formal type. I presume this is because there are no real examples where renaming a formal type in an instance is needed. -- Jeff Carter "[M]any were collected near them, ... to enjoy the sight of a dead young lady, nay, two dead young ladies, for it proved twice as fine as the first report." Persuasion 155