comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Possible Bug, Need Second Opinion
Date: Sun, 23 Sep 2001 23:18:06 +0200
Date: 2001-09-23T23:18:06+02:00	[thread overview]
Message-ID: <87lmj5fvxt.fsf@deneb.enyo.de> (raw)
In-Reply-To: mailman.1001275761.28439.comp.lang.ada@ada.eu.org

ANH_VO@udlp.com writes:

> However, when compiled using GNAT 3.13p on Windows 95, the compiler
> complains with an error message of 'index_rejection.ads:14:32: index
> types of actual do not match those of formal "Element_Array"'.

Further experiments suggest that GNAT performs the name resolution for
generic actual parameters in the context of the generic, and not in
instantiating context.  (Sorry, the terminology is probably
non-standard.)

I don't know if this is a property of the Ada language, but I would be
surprised if it was.



  reply	other threads:[~2001-09-23 21:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-23 18:01 Possible Bug, Need Second Opinion ANH_VO
2001-09-23 21:18 ` Florian Weimer [this message]
2001-09-24 13:51 ` Ted Dennison
2001-09-25 18:51 ` 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