From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7c04619be7b30e1c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-04 07:05:20 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!jussieu.fr!enst!enst.fr!not-for-mail From: "M. A. Alves" Newsgroups: comp.lang.ada Subject: Re: How to desambiguate? Date: Wed, 4 Jul 2001 15:03:35 +0000 (GMT) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: avanie.enst.fr 994255518 88400 137.194.161.2 (4 Jul 2001 14:05:18 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 4 Jul 2001 14:05:18 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Sender: maa@www.niaad.liacc.up.pt In-Reply-To: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:9425 Date: 2001-07-04T15:03:35+00:00 (Answering my self.) > 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)); -- Cf. ARM 6.4 (30) -- , M A R I O data miner, LIACC, room 221 tel 351+226078830, ext 121 A M A D O Rua Campo Alegre, 823 fax 351+226003654 A L V E S P-4150 PORTO, Portugal mob 351+939354002