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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,82f2e791e7842c9b,start X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Question on generic child packages Date: 1997/04/04 Message-ID: <860128719.11snx@jvdsys.nextjk.stuyts.nl>#1/1 X-Deja-AN: 230510999 Distribution: world Organization: *JerryWare HQ*, Haarlem, Holland Newsgroups: comp.lang.ada Date: 1997-04-04T00:00:00+00:00 List-Id: To my supprise GNAT seems to say that I cannot have private generic child packages: 1 -- Demo.ads 2 package Demo is 3 4 end Demo; 1 -- Demo-Child.ads 2 generic 3 type Some_Type is private; 4 private package Demo.Child is 5 6 end Demo.Child; GNAT/DOS 3.07 => demochil.ads:4:01: unexpected keyword "private" ignored Either this cannot be done, the syntax is wrong or this is a plainly stupid construction. However, I cannot find any reference to this in the RM (or in [Cohen]). Can anyone point me in the right direction ? -- Jerry van Dijk | Haarlem, Holland -- Business Consultant | Team Ada -- Ordina Finance | jdijk@acm.org