comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: [Q] non-limited record and "self-pointer"
Date: Wed, 11 Feb 2004 18:41:56 +0000 (UTC)
Date: 2004-02-11T18:41:56+00:00	[thread overview]
Message-ID: <c0dt1k$s3t$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: jvqdnTsRj_S6G7XdRVn-sQ@comcast.com

Robert I. Eachus <rieachus@comcast.net> wrote:
: Stephen Leake wrote:
: 
: 
:> This definitely looks like a compiler bug. Perhaps because Container
:> is tagged, Read_Only_Set is being labeled "aliased". But that's not in
:> the ARM.
: 
: I don't see that.  3.10(9) says in part: "Finally, the current instance 
: of a limited type, and a formal parameter or generic formal object of a 
: tagged type are defined to be aliased."

Thanks for the answers. Still I wonder what is going on here. In Dan
Eilers' example there is no parameter.  It is just the Controlled
component which seems to make the compiler happy. If the "container"
component is replaced with a component of some tagged type other
than one derived from Controlled, the self reference is not allowed,
according to the compiler.

Am I missing something?


-- Georg



  reply	other threads:[~2004-02-11 18:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-08 21:26 [Q] non-limited record and "self-pointer" Georg Bauhaus
2004-02-09  0:58 ` Stephen Leake
2004-02-09  2:56   ` Georg Bauhaus
2004-02-09 12:50     ` Stephen Leake
2004-02-09 15:45       ` Georg Bauhaus
2004-02-10  1:35         ` Dan Eilers
2004-02-10  2:30           ` Stephen Leake
2004-02-10  7:20             ` Robert I. Eachus
2004-02-11 18:41               ` Georg Bauhaus [this message]
2004-02-11 22:05                 ` Randy Brukardt
2004-02-12  0:21                 ` Robert I. Eachus
2004-02-12 20:44                   ` Georg Bauhaus
2004-02-14  0:25                     ` Robert I. Eachus
2004-02-14  4:09                       ` Robert I. Eachus
2004-02-14  0:24               ` Adam Beneschan
2004-02-14  6:04                 ` Randy Brukardt
replies disabled

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