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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: child class of limited_controlled not inheriting data Date: Fri, 5 Aug 2016 12:20:05 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 5 Aug 2016 19:20:12 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="d7c030f56102b58a2c16dea977db88bb"; logging-data="13628"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ptH5nasDRD+J+ygKArgZJVGMMvSZI8vI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: Cancel-Lock: sha1:yMNjgTnCNIgfYPiQv7qgbpHulHg= Xref: news.eternal-september.org comp.lang.ada:31298 Date: 2016-08-05T12:20:05-07:00 List-Id: On 08/05/2016 11:59 AM, b.mcguinness747@gmail.com wrote: > > What is wrong here? The short answer is: you're using type extension. Longer answer: Julian_Day_Numbers, not being a descendant of Two_Part_Date, does not have visibility to the latter's private part. -- Jeff Carter "If you think you got a nasty taunting this time, you ain't heard nothing yet!" Monty Python and the Holy Grail 23