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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,104df2b9b7a2f689 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!koehntopp.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Interfaces Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <8764xj9wzf.fsf@deneb.enyo.de> <877jhz0y52.fsf@deneb.enyo.de> <87sm0mcjbx.fsf@deneb.enyo.de> Date: Tue, 17 May 2005 12:19:07 +0200 Message-ID: <1rfnp5x3lxi3n$.mvahuo5ag68a$.dlg@40tude.net> NNTP-Posting-Date: 17 May 2005 12:19:11 MEST NNTP-Posting-Host: 8b29607c.newsread4.arcor-online.net X-Trace: DXC=5Z1WOG@=e^o?k9\3aA>f[6LHn;2LCVn7enW;^6ZC`d<=9bOTW=MNn X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:11061 Date: 2005-05-17T12:19:11+02:00 List-Id: On Tue, 17 May 2005 11:06:42 +0200, Florian Weimer wrote: > * Dmitry A. Kazakov: > >>> Something like "overriding J1 >>> procedure Foo"? This would result in an error message if Foo also >>> overrode a subprogram inherited from T or J2. >> >> That alone would not help much. Consider you have overridden J1.Foo and >> J2.Foo using different implementations, then which one will be called on >> Foo (X)? > > How would this be possible in the single-inheritance-with-interfaces > model? There cannot be any feasible single inheritance / multiple interface model. Any inheritance is either single or multiple. Implementation vs. interface inheritance is an orthogonal issue. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de