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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,12eefe849df97d15,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!u37g2000vbc.googlegroups.com!not-for-mail From: Andrea Taverna Newsgroups: comp.lang.ada Subject: Visibility of package parameters in child packages Date: Tue, 15 Dec 2009 11:28:47 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 151.47.212.98 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1260905327 10911 127.0.0.1 (15 Dec 2009 19:28:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 15 Dec 2009 19:28:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u37g2000vbc.googlegroups.com; posting-host=151.47.212.98; posting-account=q_H03goAAABDwevycEkYzGRVjq5lpBVA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8394 Date: 2009-12-15T11:28:47-08:00 List-Id: Hello everyone, I have the following packages: generic with package P is new Q (<>); use P; package Parent is ... end Parent; generic Parent.Child is ... end Parent.Child; I can see P declarations inside Parent, but in Child I need to prefix everything with 'P.', even if I add a use-clause. This happens with gnat-4.3.0 . Is it normal? How can I "use" P inside Child? thanks Andrea