comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Two generic families: I'm confused by error msg
Date: Wed, 3 Nov 2004 13:37:22 +0000 (UTC)
Date: 2004-11-03T13:37:22+00:00	[thread overview]
Message-ID: <cmamui$atm$2@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 4188ab00$1_1@baen1673807.greenlnk.net

Martin Dowie <martin.dowie@baesystems.com> wrote:
: John Woodruff wrote:
:> --------------------------------------------------------------------------
:> -- If this line "subtype Real is Unreal"  is ABSENT, then error at
:> line 26:
:> -- Component subtype of actual does not match that of formal "Vector"
:> --------------------------------------------------------------------------
:>    subtype Real is Unreal;
: 
: Looks like a GNAT-ism. ObjectAda 7.2.2 is fine with or without the subtype.

(A very speculative guess: Having seen several cases of "behavior only
noticed when something is mentioned" recently, does GNAT adopt a C++
style of detecting things on use? :-)


-- Georg



  reply	other threads:[~2004-11-03 13:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03  5:40 Two generic families: I'm confused by error msg John Woodruff
2004-11-03  8:46 ` Dmitry A. Kazakov
2004-11-03 10:01 ` Martin Dowie
2004-11-03 13:37   ` Georg Bauhaus [this message]
2004-11-05  3:45   ` John Woodruff
replies disabled

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