comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: bug or feature
Date: Mon, 08 Sep 2014 11:09:00 +0200
Date: 2014-09-08T11:09:00+02:00	[thread overview]
Message-ID: <lujrna$939$1@dont-email.me> (raw)
In-Reply-To: <854mwi1om4.fsf@stephe-leake.org>

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


  reply	other threads:[~2014-09-08  9:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07 10:33 bug or feature Charly
2014-09-07 16:59 ` Dirk Heinrichs
2014-09-08  8:48   ` Stephen Leake
2014-09-08 18:07     ` Charly
2014-09-09  4:32       ` Stephen Leake
2014-09-09  4:39     ` Dirk Heinrichs
2014-09-08  8:51 ` Stephen Leake
2014-09-08  9:09   ` J-P. Rosen [this message]
2014-09-08 15:31   ` Adam Beneschan
2014-09-08  9:43 ` Simon Wright
2014-09-09  4:40   ` Stephen Leake
2014-10-06 17:48     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox