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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4f325eb9bb392b2f X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Delegating operations to parent (generic formal type) Date: 2000/07/15 Message-ID: #1/1 X-Deja-AN: 646742068 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: X-Trace: news.demon.co.uk 963682270 nnrp-02:14805 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 2000-07-15T00:00:00+00:00 List-Id: Simon Wright writes: > Christoph Grein can't post directly, > but says: > > It's really funny, I've just published an article about this > behaviour in the Ada Germany's periodical. You can find the English > version on my homepage and also in AdaPower in the Language section. > > http://home.T-Online.de/home/Christ-Usch.Grein/AdaMagica/Secretive.html > > You'll find the problem solution there. Christoph, Your article is about the fact that primitive operations can only override visible operations of a parent type. Although I take your point, in my case the operations were in a child package -- exactly like yours! -- so the inheritance from Ada.Finalization.Controlled should have been visible. Interestingly, when I made the inheritance public, Apex crashed in the "middle pass" (AFAICR).