comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Full view of limited extension?
Date: Mon, 17 Oct 2016 23:24:44 -0700 (PDT)
Date: 2016-10-17T23:24:44-07:00	[thread overview]
Message-ID: <121792c4-3f9d-4d89-8ac5-88375ffb1110@googlegroups.com> (raw)

Consider file test.ads:

with Ada.Finalization;

package Test is

   type Parent is limited interface;
   
   type Child is limited new Parent with private;
   
private

   type Child is
      new Ada.Finalization.Limited_Controlled
      and Parent with record
      I : Integer;
   end record;

end Test;

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?

-- 
Maciej Sobczak * http://www.inspirel.com


             reply	other threads:[~2016-10-18  6:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18  6:24 Maciej Sobczak [this message]
2016-10-18  7:22 ` Full view of limited extension? G.B.
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