comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Why can't I override these functions?
Date: Sun, 09 May 2004 12:42:47 GMT
Date: 2004-05-09T12:42:47+00:00	[thread overview]
Message-ID: <bHpnc.58611$mU6.237478@newsb.telia.net> (raw)
In-Reply-To: <4081602.8xjHSFNgAH@linux1.krischik.com>

Martin Krischik wrote:

> It is not odd. When the keyword "tagged" is only inside the private section
> then the "tag is hidden". Only child packages can see the tag and can
> extend the class.

Apparently a private subpackage can extend the type too, and only 
subpackages and child packages are involved here. Simon's workaround 
with Should_Have_Been_Overridden worked for the example, so there is no 
problem with the type extension itself. It's just that abstract 
subprograms don't work.

-- 
Björn Persson

jor ers @sv ge.
b n_p son eri nu




  reply	other threads:[~2004-05-09 12:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-07 10:43 Why can't I override these functions? Björn Persson
2004-05-07 17:15 ` Jim Rogers
2004-05-07 18:15   ` Björn Persson
2004-05-07 18:42 ` Georg Bauhaus
2004-05-07 19:38   ` Björn Persson
2004-05-08  6:15     ` Martin Krischik
2004-05-09 12:42       ` Björn Persson [this message]
2004-05-08 11:34     ` Simon Wright
2004-05-09 12:38       ` Björn Persson
2004-05-10  5:43         ` Simon Wright
2004-05-10 11:49 ` Martin Dowie
2004-05-10 12:13   ` Björn Persson
2004-05-13  7:23 ` Björn Persson
replies disabled

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