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: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: bug or feature Date: Mon, 08 Sep 2014 11:09:00 +0200 Organization: A noiseless patient Spider Message-ID: References: <136dc796-8f60-4fc0-a2f8-70e0ca24c9f1@googlegroups.com> <854mwi1om4.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 8 Sep 2014 09:08:58 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="23dab0694e4174fdc880833ec67fa650"; logging-data="9321"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/83Nx3US25X95azZa90iLm" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <854mwi1om4.fsf@stephe-leake.org> Cancel-Lock: sha1:Te81XPS+D89xRGHv9PUbXXjvLpg= Xref: number.nntp.dca.giganews.com comp.lang.ada:188913 Date: 2014-09-08T11:09:00+02:00 List-Id: Le 08/09/2014 10:51, Stephen Leake a écrit : > line 6 defines a _new_ subtype, _different_ from Datum_Pkg.Datum. They have > the same base type, but the error message says "subtype", not "base > type". > > So you are out of luck. Hmm... 5.5.2 says: "The type of the subtype_indication, if any, of an array component iterator shall cover the component type of the type of the iterable_name. The type of the subtype_indication, if any, of a container element iterator shall cover the default element type for the type of the iterable_name." So, it's the type of the subtype that matters. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr