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: Preventing private procedure visibility being made public through extension Date: Sat, 27 May 2017 00:58:21 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <4a47e4cd-829c-4451-abf1-82cf60b67706@googlegroups.com> <9cdf04e6-123e-4bd9-b466-77aad00d61bb@googlegroups.com> <62e326e6-dd15-4546-83dc-b1e423327c23@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 26 May 2017 22:54:55 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c11c97550ffb44c16cd93a32998f9033"; logging-data="9779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V4DblgBc+5UkXxHt3cXA85xXGZiSIzz0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: Cancel-Lock: sha1:fT2f+PfwbRx0CurxGXvY6iWu9vY= Xref: news.eternal-september.org comp.lang.ada:46870 Date: 2017-05-27T00:58:21+02:00 List-Id: On 05/26/2017 10:46 PM, Randy Brukardt wrote: > Ah, a subtype. GNAT has (or had?)a bug having to do with making things > visible because of a subtype declaration (I recall someone else running > across that and having verified it myself). That's just plain wrong, a > subtype has no effect on what's visible in a prefixed call (or anywhere else > for that matter, in particular with "use all type"). That was me. I wasn't aware that you had verified it as a compiler error. -- Jeff Carter "Nobody expects the Spanish Inquisition!" Monty Python's Flying Circus 22