comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: GNAT GPL - Anonymous Access Type
Date: Wed, 28 Sep 2005 11:55:13 +0200
Date: 2005-09-28T11:55:13+02:00	[thread overview]
Message-ID: <433A6881.3020404@mailinator.com> (raw)
In-Reply-To: <1127850090.283075.268920@f14g2000cwb.googlegroups.com>

Anh Vo wrote:
> I got this error message "type declaration cannot refer to itself" when
> compiling the record below.
> 
> type Node is
>    record
>       Value : Integer := 0;
>       Next : access Node;
>    end record;
> 
> I have the impression that this feature has not been implemented based
> on this error. What do you guys think?

It's partially there (or was in latest GAP release, which is older than 
this GPL one). You can use it with types in other packages, for example, 
but either I understand something wrong with this feature and the 
"limited with" or the support is partial, since I couldn't do anything 
useful with these. I ran pretty quickly in some restrictions that 
prevented circular referencing.



  parent reply	other threads:[~2005-09-28  9:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 19:41 GNAT GPL - Anonymous Access Type Anh Vo
2005-09-28  8:54 ` Georg Bauhaus
2005-09-28 16:26   ` Anh Vo
2005-09-28  9:55 ` Alex R. Mosteo [this message]
2005-09-28 10:49 ` Rob Norris
2005-09-28 10:57   ` Martin Dowie
2005-09-28 16:23     ` Anh Vo
2005-09-29 12:28     ` Rob Norris
2005-09-29 17:31       ` Anh Vo
2005-09-29 18:12         ` Martin Dowie
2005-09-29 20:39           ` Anh Vo
2005-09-30  5:44             ` Martin Dowie
2005-09-30 11:01               ` Martin Dowie
2005-09-28 18:43 ` Jeffrey R. Carter
2005-09-28 19:44   ` Anh Vo
2005-09-28 20:23     ` Britt Snodgrass
2005-09-28 21:31       ` Simon Wright
2005-09-29  8:36         ` OT: " Martin Dowie
2005-09-29 19:02           ` Simon Wright
2005-09-30  7:57             ` Martin Dowie
2005-09-30  8:11               ` Martin Dowie
replies disabled

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