comp.lang.ada
 help / color / mirror / Atom feed
From: "Sergey Koshcheyev" <serko84@hotmail.com>
Subject: Re: "&" for array versus "&" for Strings
Date: Tue, 8 Oct 2002 15:56:42 +0200
Date: 2002-10-08T15:56:42+02:00	[thread overview]
Message-ID: <anuo6n$2u1q$1@ns.felk.cvut.cz> (raw)
In-Reply-To: mailman.1034079721.26410.comp.lang.ada@ada.eu.org


"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote in message
news:mailman.1034079721.26410.comp.lang.ada@ada.eu.org...
>
> With gnat-3.14p and qualification it still fails, so it would appear that
this
> is a "bug" fixed in 3.16w.  Clearly, from a language standpoint, it is
> necessary to disambiguate the & operator in the call to Print_Names, and
> qualification of its operands does just that.
> <snip>

How does it disambiguate the "&"? I would understand if it selected function
"&" (Left, Right : String) return String, but from what you say, it seems
like it made the compiler select function "&" (Left, Right : "String (1 ..
6)") return Name_Array.

Sergey.





  reply	other threads:[~2002-10-08 13:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200210081153.NAA17399@bulgaria.otn.eurocopter.de>
2002-10-08 12:21 ` "&" for array versus "&" for Strings David C. Hoos, Sr.
2002-10-08 13:56   ` Sergey Koshcheyev [this message]
2002-10-08 15:46     ` David C. Hoos
2002-10-08 15:56       ` Preben Randhol
2002-10-10  6:28 Grein, Christoph
2002-10-10  7:15 ` Preben Randhol
  -- strict thread matches above, loose matches on Subject: below --
2002-10-10  4:35 Grein, Christoph
2002-10-10  6:06 ` Preben Randhol
2002-10-09  9:59 Grein, Christoph
2002-10-09  5:28 Grein, Christoph
2002-10-09 12:43 ` Robert A Duff
2002-10-09 17:38   ` Steven Deller
2002-10-09 19:46     ` Robert A Duff
2002-10-08 11:53 Grein, Christoph
2002-10-08 13:46 ` Preben Randhol
2002-10-08 13:49 ` Preben Randhol
2002-10-08 16:41 ` Robert A Duff
2002-10-09  9:35   ` Preben Randhol
2002-10-08 10:57 Preben Randhol
2002-10-14 16:34 ` Eric G. Miller
2002-10-14 17:54   ` Robert A Duff
replies disabled

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