From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: on the use of "limited with"
Date: Sun, 9 Oct 2005 13:12:12 +0000 (UTC)
Date: 2005-10-09T13:12:12+00:00 [thread overview]
Message-ID: <dib4vc$2fg$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <1128856766.691404.176910@z14g2000cwz.googlegroups.com>
evangeli@cnam.fr wrote:
> thanks for the help
> does not seem to work neither :
>
> function get_q(my_tp : in tp) return access q.tq;
> p.ads:5:41: anonymous access type definition not allowed here
>
> do i have to redefine an acces type on q.tq ?
Hmmm, from memory, I think after reading John Barnes' paper on this you
may have to define the access type to the "limited with"-ed type locally
to where you want to use it.
It may be that all the Ada05 access type/limited with changes are not
yet implemented either.
Cheers
-- Martin
next prev parent reply other threads:[~2005-10-09 13:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-08 13:45 on the use of "limited with" evangeli
2005-10-09 7:42 ` Martin Dowie
2005-10-09 11:19 ` evangeli
2005-10-09 13:12 ` Martin Dowie [this message]
2005-10-11 0:12 ` 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