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,5f3fcf3eb242e4c1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-18 13:57:42 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!inmet!not-for-mail From: Tucker Taft Newsgroups: comp.lang.ada Subject: Re: casecrash: language lawyers: C'mon! Date: Wed, 18 Jul 2001 16:57:41 -0400 Organization: AverStar (formerly Intermetrics) Burlington, MA USA Message-ID: <3B55F845.539CE332@avercom.net> References: <9j3jok$d4j$1@infosun2.rus.uni-stuttgart.de> NNTP-Posting-Host: 192.168.24.34 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: inmet2.burl.averstar.com 995489861 28334 192.168.24.34 (18 Jul 2001 20:57:41 GMT) X-Complaints-To: usenet@inmet2.burl.averstar.com NNTP-Posting-Date: 18 Jul 2001 20:57:41 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:10203 Date: 2001-07-18T20:57:41+00:00 List-Id: Peter Hermann wrote: > > short clarification: > my code clearly shows that I unintentionally overloaded identifier h > and I am wondering why Ada is not smart enough for context resolution. > My question still remains whether Ada2005 could be pushed forward > for such clearly obvious circumstances. Highly unlikely. Ada makes a strong distinction between overloadable declarations (subprograms, entries, and enumerals) and non-overloadable declarations (everything else). Allowing more general overloading would dramatically affect a very delicate part of existing compilers (overload resolution) and would require a major new benefit to justify it. In other words, don't hold your breath ;-). > > -- > Peter Hermann Tel+49-711-685-3611 Fax3758 ica2ph@csv.ica.uni-stuttgart.de > Pfaffenwaldring 27 Raum 114, D-70569 Stuttgart Uni Computeranwendungen > http://www.csv.ica.uni-stuttgart.de/homes/ph/ > Team Ada: "C'mon people let the world begin" (Paul McCartney) -- -Tucker Taft stt@avercom.net http://www.avercom.net Chief Technology Officer, AverCom Corporation (A Titan Company) Bedford, MA USA (AverCom was formerly the Commercial Division of AverStar: http://www.averstar.com/~stt)