comp.lang.ada
 help / color / mirror / Atom feed
* Full view of limited extension?
@ 2016-10-18  6:24 Maciej Sobczak
  2016-10-18  7:22 ` G.B.
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Maciej Sobczak @ 2016-10-18  6:24 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-29  4:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-18  6:24 Full view of limited extension? Maciej Sobczak
2016-10-18  7:22 ` 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

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