From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,40d95f0abf698cd9 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed.freenet.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: [Newbie] Visibility parent-child Date: Tue, 11 May 2004 18:29:19 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <40a0fc28$0$31944$626a14ce@news.free.fr> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1084300159 17738 134.91.1.34 (11 May 2004 18:29:19 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 11 May 2004 18:29:19 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: controlnews3.google.com comp.lang.ada:449 Date: 2004-05-11T18:29:19+00:00 List-Id: PG 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