comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@inf.enst.fr>
To: comp.lang.ada@ada.eu.org
Subject: Re: How to desambiguate?
Date: Wed, 4 Jul 2001 16:00:34 +0200
Date: 2001-07-04T16:00:34+02:00	[thread overview]
Message-ID: <mailman.994255264.16293.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0107041449260.3744-100000@www.niaad.liacc.up.pt>; from maa@liacc.up.pt on Wed, Jul 04, 2001 at 02:55:36PM +0000

On  4/07, M. A. Alves wrote:
| Consider the subprograms
| 
|   procedure A(X: in T1);
|   procedure A(X: in T2);
|   function B return T1;
|   function B return T2;
| 
| The call
| 
|   A(B);
| 
| is of course ambiguous (and will therefore not compile).
| 
| How does one desambiguate?  (Assume I want to call the B returning T1.)

A (T1'(B))




       reply	other threads:[~2001-07-04 14:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.21.0107041449260.3744-100000@www.niaad.liacc.up.pt>
2001-07-04 14:00 ` Samuel Tardieu [this message]
2001-07-04 15:03 ` How to desambiguate? M. A. Alves
2001-07-04 14:55 M. A. Alves
replies disabled

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