comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Visibility of packages in child bodies...
Date: 1996/04/17
Date: 1996-04-17T00:00:00+00:00	[thread overview]
Message-ID: <4l1uss$acu@goanna.cs.rmit.edu.au> (raw)

If a series of library packages are created as...

	package useful is...
	
	package a is...
	
	package a.useful is...
	
then in the package body of a.useful is it possible to
refer to package "useful" without using a library level renaming?

e.g. in the following...

	with useful;
	
	package body a.useful is...
	
package "useful" is not directly visible.


The apparent solution...

	with useful;
	package useful_renaming_because_of_collision renames useful;
	
	
	with useful_renaming_because_of_collision;
	
	pacakge body a.useful is...
	
seems a bit annoying, in that a new library entry has to be created.

Dale




             reply	other threads:[~1996-04-17  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-17  0:00 Dale Stanbrough [this message]
1996-04-17  0:00 ` Visibility of packages in child bodies Serge Rybin
  -- strict thread matches above, loose matches on Subject: below --
1996-04-17  0:00 Jean-Pierre Rosen
replies disabled

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