From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: type extension at deeper accessibility level than parent
Date: Tue, 04 May 2004 14:33:02 +0200
Date: 2004-05-04T14:33:02+02:00 [thread overview]
Message-ID: <2927055.W2JKI8JGLO@linux1.krischik.com> (raw)
In-Reply-To: pan.2004.05.04.09.47.26.650290@nospam.lifl.fr
Xaelis wrote:
> Hi,
>
> I don't understand why i can't do somthing like that :
> I have :
> essai.adb:4:04: instantiation error at b.ads:6
> essai.adb:4:04: type extension at deeper accessibility level than parent
>
> I don't know why is it a problem and who to solve it.
The error message says it all. package C need to be on the same level as A
and B. Depending on your compiler this could untimatly mean you have to
write:
packageᅵCᅵisᅵnewᅵBᅵ(Integer);
all alone into its own file.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
next prev parent reply other threads:[~2004-05-04 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 9:47 type extension at deeper accessibility level than parent Xaelis
2004-05-04 12:33 ` Martin Krischik [this message]
2004-05-04 18:35 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox