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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada design bug or GNAT bug? Date: Tue, 23 Jun 2015 16:27:05 +0200 Organization: cbb software GmbH Message-ID: <1ujvcomi0uyzl.2crsxfb9039q.dlg@40tude.net> References: <4lrj5zz2u2z.u8x9cf7xzic6.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: enOx0b+nfqkc2k+TNpOejg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:26428 Date: 2015-06-23T16:27:05+02:00 List-Id: On Tue, 23 Jun 2015 13:00:17 +0200, G.B. wrote: > On 22.06.15 20:16, Dmitry A. Kazakov wrote: >> Which problem is? The operation is not visible, it cannot be called. > > Am I missing something? > > package body P2.Child is > X : T3; > Y : T1'Class := T3'(Foo); > begin > X := Foo; > end P2.Child; This is a private view of T3. A private client has full view of everything and thus there should no problem anyway. To my understanding Randy meant some unclear to me problems with public clients. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de