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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,9da5d24e17589a88 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news-in.ntli.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: type extension at deeper accessibility level than parent Date: Tue, 04 May 2004 14:33:02 +0200 Organization: AdaCL Message-ID: <2927055.W2JKI8JGLO@linux1.krischik.com> References: Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: news.t-online.com 1083674812 04 14136 TFk7Gyh13mefYIF 040504 12:46:52 X-Complaints-To: usenet-abuse@t-online.de X-ID: EYAe2EZBYeoplJpeQK7rvNPpQPIJPN-8yKgw17I27G800jk8t1h-8I User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:234 Date: 2004-05-04T14:33:02+02:00 List-Id: 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