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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.stack.nl!aioe.org!.POSTED!not-for-mail From: Victor Porton Newsgroups: comp.lang.ada Subject: Re: Controlled types as interfaces Date: Wed, 20 Aug 2014 15:50:58 +0300 Organization: Aioe.org NNTP Server Message-ID: References: <17zg1do470nci.15209dgoz3ktk.dlg@40tude.net> NNTP-Posting-Host: AnnUDmZwVERVUXyHDyOl5A.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@aioe.org User-Agent: KNode/4.13.3 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:188581 Date: 2014-08-20T15:50:58+03:00 List-Id: Dmitry A. Kazakov wrote: >> A similar thing can be made with Root_Stream_Type making it derived from >> Root_Stream_Interface interface. > > Yes, of course. It was proposed multiple times, as I remember. But > rejected as "not backward compatible." Though the compatibility issue was > quite minor if any. We can make Root_Stream_Type a descendant of Root_Stream_Interface. So old code can derive from Root_Stream_Type and this is backward compatible. -- Victor Porton - http://portonvictor.org