From: "G.B." <bauhaus@futureapps.invalid>
Subject: Re: Full view of limited extension?
Date: Tue, 18 Oct 2016 09:22:23 +0200
Date: 2016-10-18T09:22:23+02:00 [thread overview]
Message-ID: <nu4iit$5c0$1@dont-email.me> (raw)
In-Reply-To: <121792c4-3f9d-4d89-8ac5-88375ffb1110@googlegroups.com>
On 18.10.16 08:24, Maciej Sobczak wrote:
> The problem is (GNAT 5.4.0):
>
> $ gcc -c test.ads
> test.ads:11:04: full view of limited extension must be explicitly limited
>
> The "limited" keyword is already everywhere, there are no more places to put it. :-) Am I missing some dark language corners here?
I think its is non-limited full views for non-tagged types
only. You could work around the redundancy in the names,
though...
with Ada.Finalization;
package Test is
type Parent is limited interface;
type Child is limited new Parent with private;
private
subtype Unmovably_Controlled is Ada.Finalization.Limited_Controlled;
type Child is limited
new Unmovably_Controlled
and Parent with record
I : Integer;
end record;
end Test;
--
"HOTDOGS ARE NOT BOOKMARKS"
Springfield Elementary teaching staff
next prev parent reply other threads:[~2016-10-18 7:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 6:24 Full view of limited extension? Maciej Sobczak
2016-10-18 7:22 ` G.B. [this message]
2016-10-18 7:30 ` Vratislav Podzimek
2016-10-18 15:22 ` Tero Koskinen
2016-10-20 0:40 ` Randy Brukardt
2016-10-26 13:36 ` Maciej Sobczak
2016-10-26 21:02 ` Randy Brukardt
2016-10-26 21:08 ` Randy Brukardt
2016-10-27 7:56 ` Maciej Sobczak
2016-10-29 4:06 ` Coyo T Stormcaller
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox