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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.232.42 with SMTP id tl10mr3984541pbc.7.1335392421706; Wed, 25 Apr 2012 15:20:21 -0700 (PDT) Path: r9ni98383pbh.0!nntp.google.com!news2.google.com!postnews.google.com!ot8g2000pbb.googlegroups.com!not-for-mail From: ytomino Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Wed, 25 Apr 2012 15:14:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9af5eaaa-1c48-4455-a8e8-39dd9ee8092d@ot8g2000pbb.googlegroups.com> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> NNTP-Posting-Host: 114.150.55.69 Mime-Version: 1.0 X-Trace: posting.google.com 1335392421 3004 127.0.0.1 (25 Apr 2012 22:20:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Apr 2012 22:20:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: ot8g2000pbb.googlegroups.com; posting-host=114.150.55.69; posting-account=Mi71UQoAAACnFhXo1NVxPlurinchtkIj User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-25T15:14:47-07:00 List-Id: Delphi(or C#)'s method resolution clauses. Java-style interface introduced in Ada2005 makes primitive names to global. Method resolution clause restore them to local. type I1 is interface; procedure X (Obj : I1); type I2 is interface; procedure X (Obj : I2); type T is new I1 and I2; procedure X (Obj : T); -- conflicted!!! If method resolution clause exists: type T is new I1 and I2; overriding(I1.X) procedure X1 (Obj : T); overriding(I2.X) procedure X2 (Obj : T); X(I1(Obj)); -- calls X1 X(I2(Obj)); -- calls X2