From: Christoph Grein <christoph.grein@eurocopter.com>
Subject: Re: GNAT error? [a generic child instance looses visibility]
Date: Mon, 18 Mar 2002 11:10:37 +0100 (MET)
Date: 2002-03-18T11:10:37+01:00 [thread overview]
Message-ID: <mailman.1016446382.4472.comp.lang.ada@ada.eu.org> (raw)
> 9. package Instantiation is new Obj.Child (Y);
> |
> >>> instantiation error at obj-child.adb:4
> >>> no selector "Component" for type "Y'Class" defined at line 7
Looks like a Gnat bug, Rational Apex compiles this.
>
> 7 lines: 2 errors
>
> It seems that during instantiation Obj.Child.Access_Internals looses
> access to X.Component, no matter that it belongs to the child package.
> Object Ada successfully compiles the example above. Also, GNAT's bug?
>
> Regards,
> Dmitry Kazakov
next reply other threads:[~2002-03-18 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-18 10:10 Christoph Grein [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-18 9:56 GNAT error? [a generic child instance looses visibility] Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox