From: dennison@telepath.com (Ted Dennison)
Subject: Re: child packages and nested packages
Date: 25 Mar 2002 07:01:22 -0800
Date: 2002-03-25T15:01:22+00:00 [thread overview]
Message-ID: <4519e058.0203250701.7819a546@posting.google.com> (raw)
In-Reply-To: 6a6390b8.0203230702.14c071c1@posting.google.com
okellogg@freenet.de (Oliver Kellogg) wrote in message news:<6a6390b8.0203230702.14c071c1@posting.google.com>...
> I now encountered a situation where I'd like to create a child
> package of a nested package:
>
> -- file: pkg.ads
> package Pkg is
> package Nested is
> type Object is tagged null record;
> end Nested;
> end Pkg;
>
> -- file: pkg-nested-child.ads
> package Pkg.Nested.Child is
> type Derived is new Object with null record;
> end Pkg.Nested.Child;
It looks like you tried to create a *grandchild* package without first
creating a child package. Sort of a double immaculate conception. :-)
Try declaring Pkg.Nested.Child within Pkg.
--
T.E.D.
Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison)
Homepage - http://www.telepath.com/dennison/Ted/TED.html
next prev parent reply other threads:[~2002-03-25 15:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-23 15:02 child packages and nested packages Oliver Kellogg
2002-03-25 15:01 ` Ted Dennison [this message]
2002-03-25 19:26 ` Oliver Kellogg
2002-03-25 22:31 ` Stephen Leake
2002-04-23 21:44 ` Oliver Kellogg
2002-04-24 14:52 ` Oliver Kellogg
2002-03-26 14:21 ` Marin David Condic
2002-03-28 9:51 ` Oliver Kellogg
2002-03-28 14:49 ` Ted Dennison
2002-03-28 18:30 ` Oliver Kellogg
2002-03-28 22:13 ` Ted Dennison
2002-03-29 5:30 ` Oliver Kellogg
2002-03-29 11:59 ` Sergey Koshcheyev
2002-03-29 15:14 ` Ted Dennison
2002-03-29 13:05 ` Oliver Kellogg
-- strict thread matches above, loose matches on Subject: below --
2010-03-04 5:37 Oliver Kellogg
2010-03-04 14:55 ` Admin - Do Not Email
2010-03-04 16:12 ` Adam Beneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox