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-Thread: 103376,4894bc8fcf637af8 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!feeder.news-service.com!newsfeed.freenet.de!news.teledata-fn.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 28 Jan 2008 19:21:22 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Interfaces and private types References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <479e1d22$0$9108$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 28 Jan 2008 19:21:22 CET NNTP-Posting-Host: 024c5298.newsspool2.arcor-online.net X-Trace: DXC=e5NWjiMnZ0[YQ5E:lYnc\616M64>ZLh>_cHTX3j]n9NJ]`SHk:X X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:19633 Date: 2008-01-28T19:21:22+01:00 List-Id: Philippe Tarroux schrieb: > Hi again, > > There is no compilation problem with the following code : > > package Test_Interfaces is > > type Int is synchronized interface; > procedure Init (I : in out Int) is abstract; > > type T is new Int with private; > > private > > task type T is > entry Init; > end T; > end Test_Interfaces; > > What do you get for task type T is new Int with -- which it is, a new Int overriding entry Init; -- which it is, overriding I suppose end T;