From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Visibility of private packages??
Date: Tue, 13 Aug 2002 20:16:45 -0500
Date: 2002-08-13T20:16:45-05:00 [thread overview]
Message-ID: <uljbq1j7cqsa8f@corp.supernews.com> (raw)
In-Reply-To: wcc3cu0hvne.fsf@shell01.TheWorld.com
Robert A Duff wrote in message ...
>Dale Stanbrough <dstanbro@bigpond.net.au> writes:
>
>> Yes, that's correct. I think this is a case where the designers got
it
>> wrong. The current rules prevent "compilation coupling", that is any
>> change to a private package will never result in the need to
recompile
>> a package outside of the hierachy.
>
>Isn't the ARG considering relaxing this rule?
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
next prev parent reply other threads:[~2002-08-14 1:16 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 [this message]
2002-08-14 9:53 ` Dale Stanbrough
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