From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Question on generic child packages
Date: 1997/04/04
Date: 1997-04-04T00:00:00+00:00 [thread overview]
Message-ID: <860128719.11snx@jvdsys.nextjk.stuyts.nl> (raw)
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
next reply other threads:[~1997-04-04 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 0:00 Jerry van Dijk [this message]
1997-04-04 0:00 ` Question on generic child packages Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox