comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dstanbro@bigpond.net.au>
Subject: Re: Visibility of private packages??
Date: Wed, 14 Aug 2002 09:53:41 GMT
Date: 2002-08-14T09:53:41+00:00	[thread overview]
Message-ID: <dstanbro-E13D57.19534014082002@news-server.bigpond.net.au> (raw)
In-Reply-To: uljbq1j7cqsa8f@corp.supernews.com

Randy Brukardt wrote:

> Yes, AI-262, "private with". Already approved by the ARG. The example
> would be written in Ada 0Y as:
> 
>    private package a.b is
>       type hidden is <something>
>    end a.b;
> 
>    private with a.b;
>    package a.c is
>       type not_hidden is private;
>    private
>       type not_hidden is new a.b.hidden;
>    end;
> 
>               Randy Brukardt

Excellent! Time to drag out some old programs.

Does anyone know if any compiler vendors have implemented this
yet? (and more significantly for me, has Gnat implemented it?). 
I tried it out on the Mac port (which calls itself GNAT 5.00w)
but it objected.

Dale



  reply	other threads:[~2002-08-14  9:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30 21:23 Visibility of private packages?? Peter Coventry
2002-07-31  9:13 ` John McCabe
2002-07-31 12:06   ` Dale Stanbrough
2002-07-31 13:30     ` Robert A Duff
2002-08-14  1:16       ` Randy Brukardt
2002-08-14  9:53         ` Dale Stanbrough [this message]
2002-08-14 17:03           ` Robert Dewar
2002-08-14 19:42           ` Randy Brukardt
2002-07-31 11:55 ` Jean-Pierre Rosen
2002-07-31 13:22 ` Mark Doherty
2002-07-31 17:43 ` Anh_Vo
replies disabled

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