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!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Preelaboration Date: Mon, 16 May 2016 11:22:29 -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=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 16 May 2016 18:18:56 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48b46be33beed75863f69afa437f956b"; logging-data="2172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18D626vY6djpd29a1N1ZGPUEi3RqBDnl5Q=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: Cancel-Lock: sha1:CxnteFIdIklxM0EugNhjRQAFZu0= Xref: news.eternal-september.org comp.lang.ada:30419 Date: 2016-05-16T11:22:29-07:00 List-Id: On 05/16/2016 09:26 AM, Simon Wright wrote: > > And, looking at (10.1), would you expect > > generic > type Item is private with Preelaborable_Initialization; > package Generic_Queues is > > to be legal? GNAT rejects it, 'aspect "Preelaborable_Initialization" not > allowed for formal type declaration'. Preelaborable_Initialization is not listed as a language-defined aspect in ARM K.1. ARM 10.2.1 (11.8/2) says that pragma Preelaborable_Initialization may appear in a generic formal part, so if you replace the aspect with the pragma it should be legal. -- Jeff Carter "I'm a vicious jungle beast!" Play It Again, Sam 131