comp.lang.ada
 help / color / mirror / Atom feed
From: Christoph Grein <christoph.grein@eurocopter.de>
To: comp.lang.ada@ada.eu.org
Subject: package child question
Date: 2000/02/08
Date: 2000-02-11T10:11:59+00:00	[thread overview]
Message-ID: <200002080707.IAA16433@bulgaria.otn.eurocopter.de> (raw)

Matthew Heaney has pointed out the cause of your problem.

Apart from renaming, another solution is possible. Remember that any library
unit is supposed to be a child of Standard, so you might write

with A.B;
package body B.A is  -- this A hides the imported one

begin
   declare
      use Standard.A.B;  -- qualification makes it accessible again
   begin
      null;
   end;
end B.A;









             reply	other threads:[~2000-02-08  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-08  0:00 Christoph Grein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-07  0:00 package child question Georg Bauhaus
2000-02-07  0:00 ` Jean-Pierre Rosen
2000-02-08  0:00   ` Steve Folly
2000-02-09  0:00     ` Jean-Pierre Rosen
2000-02-09  0:00       ` Robert A Duff
2000-02-10  0:00         ` Ehud Lamm
2000-02-09  0:00           ` Marin D. Condic
2000-02-10  0:00             ` Larry Kilgallen
2000-02-10  0:00               ` Pascal Obry
2000-02-09  0:00       ` Georg Bauhaus
2000-02-11  0:00       ` Steve Folly
2000-02-08  0:00 ` Matthew Heaney
replies disabled

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