comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@notmyhomepage.invalid>
Subject: Re: Can't access record attribute in derived type
Date: Wed, 8 Mar 2017 15:24:08 +0100
Date: 2017-03-08T15:24:08+01:00	[thread overview]
Message-ID: <o9p410$fp9$1@dont-email.me> (raw)
In-Reply-To: <86mvcv4zyu.fsf@gaheris.avalon.lan>

On 08/03/2017 15:15, Mart van de Wege wrote:
> The declarations are private, but shouldn't a
> tagged type inherit the entire record of its parent type? That means
> that it should have a Parents selector, shouldn't it?

Just to make sure, is this also a hierarchy of child
packages, like

P
   Creature
P.C
   Person
P.C.G
   Knight

so that every derived type's definition has visibility
into the respective parent package's private part?


  reply	other threads:[~2017-03-08 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 14:15 Can't access record attribute in derived type Mart van de Wege
2017-03-08 14:24 ` G.B. [this message]
2017-03-08 15:06   ` Mart van de Wege
2017-03-08 19:30     ` Niklas Holsti
2017-03-08 21:05       ` Mart van de Wege
2017-03-08 20:08 ` Randy Brukardt
2017-03-08 21:06   ` Mart van de Wege
2017-03-08 21:12   ` Mart van de Wege
2017-03-08 21:25     ` Mart van de Wege
2017-03-08 21:50       ` Simon Wright
2017-03-08 22:35         ` Mart van de Wege
2017-03-08 21:03 ` Shark8
2017-03-08 21:16   ` Mart van de Wege
replies disabled

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