comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de>
Subject: Re: Interfaces and private types
Date: Mon, 28 Jan 2008 19:21:22 +0100
Date: 2008-01-28T19:21:22+01:00	[thread overview]
Message-ID: <479e1d22$0$9108$9b4e6d93@newsspool2.arcor-online.net> (raw)
In-Reply-To: <fnl2in$k49$1@news2.u-psud.fr>

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;



  reply	other threads:[~2008-01-28 18:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 17:16 Interfaces and private types Philippe Tarroux
2008-01-28 18:21 ` Georg Bauhaus [this message]
2008-01-28 22:58 ` Randy Brukardt
2008-01-29  9:35   ` Philippe Tarroux
2008-01-29 12:48     ` Georg Bauhaus
2008-01-29 13:08       ` Philippe Tarroux
2008-01-29 23:29     ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox