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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f7a9613bbc2bd8c9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-15 01:42:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!pec-16-252.tnt5.hh2.uunet.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Generic default parameters Date: Wed, 15 May 2002 10:44:23 +0200 Message-ID: References: <4dt1eucrs8l97qnj0nq5hmgihuu6kbprdk@4ax.com> NNTP-Posting-Host: pec-16-252.tnt5.hh2.uunet.de (149.225.16.252) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1021452177 21738441 149.225.16.252 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:24078 Date: 2002-05-15T10:44:23+02:00 List-Id: On 14 May 2002 10:05:44 -0400, Stephen Leake wrote: >Dmitry A. Kazakov writes: > >> On Tue, 14 May 2002 13:03:46 +0200 (MET DST), "Grein, Christoph" >> wrote: >> >> >What about >> > >> > procedure (X: S; Y: S := Def); >> > procedure (X: S := Def; Y: S); >> > >> >Would they both match? >> >> Yes, because one is a homograph of another. > >This is truly horrible! Why something horrible for instantiations is not horrible for calls? Ambiguities are unavoidable when a language has overloading. Backward compatibility, that's the problem. >Hmm, maybe you meant to say "they both match, >so the instantiation fails". Yes. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de