comp.lang.ada
 help / color / mirror / Atom feed
From: Yukicanis <yukicanis@googlemail.com>
Subject: Re: type access Parent'Class
Date: Mon, 21 Nov 2011 11:46:10 -0800 (PST)
Date: 2011-11-21T11:46:10-08:00	[thread overview]
Message-ID: <50de8ffb-2e3e-43d8-ba47-ac116c907a3f@j10g2000vbe.googlegroups.com> (raw)
In-Reply-To: wccipmdp8dt.fsf@shell01.TheWorld.com

On Nov 21, 8:45 pm, Robert A Duff <bobd...@shell01.TheWorld.com>
wrote:
> Yukicanis <yukica...@googlemail.com> writes:
> > BTW, I just discovered that
>
> >     B := A.all'Access;
>
> > also seems to work (with access all). But won't the rigth hand side
> > result in an anonymous type again?
>
> No, the type of Blah'Access is always taken from the context
> (the expected type, which is the (named) type of B in this case).
>
> - Bob

Thank you very much! Everything seems to be clean now. :)



  reply	other threads:[~2011-11-21 20:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 19:03 type access Parent'Class Yukicanis
2011-11-21 19:25 ` Adam Beneschan
2011-11-21 19:40   ` Yukicanis
2011-11-21 19:45     ` Robert A Duff
2011-11-21 19:46       ` Yukicanis [this message]
2011-11-21 23:45   ` Gene
2011-11-22  8:42     ` Dmitry A. Kazakov
2011-11-22 10:07       ` Georg Bauhaus
2011-11-22 13:27         ` Simon Wright
2011-11-22 16:13           ` Georg Bauhaus
2011-11-21 19:33 ` Robert A Duff
2011-11-21 19:44   ` Yukicanis
2011-11-24 10:33   ` Yannick Duchêne (Hibou57)
2011-11-24 11:18     ` Yukicanis
2011-11-21 21:09 ` Jeffrey Carter
replies disabled

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