comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Delegating operations to parent (generic formal type)
Date: 2000/07/15
Date: 2000-07-15T00:00:00+00:00	[thread overview]
Message-ID: <x7vaefj9ztw.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: x7vitu8o4ou.fsf@pogner.demon.co.uk

Simon Wright <simon@pogner.demon.co.uk> writes:

> Christoph Grein <christoph.grein@eurocopter.de> can't post directly,
> but says:
> 
>   It's really funny, I've just published an article about this
>   behaviour in the Ada Germany's periodical. You can find the English
>   version on my homepage and also in AdaPower in the Language section.
> 
>   http://home.T-Online.de/home/Christ-Usch.Grein/AdaMagica/Secretive.html
> 
>   You'll find the problem solution there.

Christoph,

Your article is about the fact that primitive operations can only
override visible operations of a parent type.

Although I take your point, in my case the operations were in a child
package -- exactly like yours! -- so the inheritance from
Ada.Finalization.Controlled should have been visible.

Interestingly, when I made the inheritance public, Apex crashed in the
"middle pass" (AFAICR).




  reply	other threads:[~2000-07-15  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-13  0:00 Delegating operations to parent (generic formal type) Simon Wright
2000-07-13  0:00 ` tmoran
2000-07-14  0:00   ` Simon Wright
2000-07-14  0:00 ` Simon Wright
2000-07-15  0:00   ` Simon Wright [this message]
2000-08-28  0:00 ` Simon Wright
2000-08-29  0:00   ` Tucker Taft
2000-09-06  5:25     ` Simon Wright
2000-09-07 21:56       ` Tucker Taft
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox