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,2ff5c149712ec0eb X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!proxad.net!feeder1-1.proxad.net!feeder.ecngs.de!ecngs!feeder2.ecngs.de!npeer.de.kpn-eurorings.net!npeer1.kpn.DE!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada Interfaces and the Liskov Substitution Principle Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <871wh7i8lq.fsf@ludovic-brenta.org> <4655D90D.7040709@obry.net> Date: Thu, 24 May 2007 20:39:14 +0200 Message-ID: NNTP-Posting-Date: 24 May 2007 20:39:10 CEST NNTP-Posting-Host: 993d0462.newsspool3.arcor-online.net X-Trace: DXC=S5>9_T4@;FZU6b:FjPaGjQMcF=Q^Z^V3X4Fo<]lROoRQFl8W>\BH3YRWCQV8EMQhoRDNcfSJ;bb[UIRnRBaCd On Thu, 24 May 2007 20:27:25 +0200, Pascal Obry wrote: > Randy Brukardt a �crit : >> Right. The most general type of interface is a limited interface; every >> interface should be declared limited if possible. (We didn't make that the >> default solely because it would be inconsistent with the rest of the >> language.) > > Well a task type is limited by default, idem for a protected object types. Randy probably meant that If it were limited then one would need to introduce "not limited" qualifier to be able to declare a non-limited interface. (In addition to awful "not null") -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de