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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Michael B." Newsgroups: comp.lang.ada Subject: Re: Question about name resolution Date: Tue, 20 Jan 2015 20:32:51 +0100 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 5uVkUgjfiX/db6AbgWoBrQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:191944 Date: 2015-01-20T20:32:51+01:00 List-Id: On 01/20/15 20:00, Jeffrey Carter wrote: > There's no way to call the 1st P by the name P. You could rename it and call it > by the renamed name. It works, thank you! I found something similar in a library that I want to use. I was surprised that this compiles without warnings if neither of the procedures is called. Why is such overloading allowed in Ada? It seems to make no sense to write a procedure that cannot be called directly. Regards, Michael