comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: [Newbie] Visibility parent-child
Date: Tue, 11 May 2004 18:29:19 +0000 (UTC)
Date: 2004-05-11T18:29:19+00:00	[thread overview]
Message-ID: <c7r61v$haa$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 40a0fc28$0$31944$626a14ce@news.free.fr

PG <leviquet@free.fr> wrote:
 
: In a client program,  I import these 2 packages:
: with Parent, Parent.Child;
: use Parent, Parent.Child;
: ...
: So, the procedure Add is visible but not the type Object !
: When I declare :        Ob: Object;
: it detects an error: "Object" is not visible.
: When I declare with the prefix, it's OK: Ob: Parent.Child.Object;

Is there a type "Object" other than the one from Parent.Child
which hides the one you expected? My compiler has no complaints.

--  Georg



  reply	other threads:[~2004-05-11 18:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 16:15 [Newbie] Visibility parent-child PG
2004-05-11 18:29 ` Georg Bauhaus [this message]
2004-05-11 18:46   ` PG
2004-05-12  9:32     ` Martin Krischik
2004-05-12  6:00 ` Martin Krischik
replies disabled

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