From: Tucker Taft <stt@averstar.com>
Subject: Re: meaning of "current instance"
Date: 1999/11/15
Date: 1999-11-15T00:00:00+00:00 [thread overview]
Message-ID: <383080F8.BB2BD91A@averstar.com> (raw)
In-Reply-To: xkZX3.14600$dp.430483@typhoon-sf.snfc21.pbi.net
tmoran@bix.com wrote:
>
> >This is illegal, even if you use 'Unchecked_Access, unless T is limited,
> Two out of the three compilers on my machine accept:
> package junk1 is
> type T is tagged private;
> function Init (O : access T'Class) return integer;
> private
> type T is
> tagged record
> I : Integer := Init (T'Access);
> end record;
> end junk1;
> with no "limited". I take it they are in error?
Yes. Even my favorite front end missed this one (but it won't for
long ;-).
-Tuck
--
-Tucker Taft stt@averstar.com http://www.averstar.com/~stt/
Technical Director, Distributed IT Solutions (www.averstar.com/tools)
AverStar (formerly Intermetrics, Inc.) Burlington, MA USA
next prev parent reply other threads:[~1999-11-15 0:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-11 0:00 meaning of "current instance" Matthew Heaney
1999-11-11 0:00 ` Robert A Duff
1999-11-11 0:00 ` Matthew Heaney
1999-11-11 0:00 ` Tucker Taft
1999-11-15 0:00 ` Tucker Taft
1999-11-15 0:00 ` tmoran
1999-11-15 0:00 ` Tucker Taft [this message]
1999-11-11 0:00 ` tmoran
1999-11-11 0:00 ` Matthew Heaney
1999-11-12 0:00 ` tmoran
1999-11-11 0:00 ` Matthew Heaney
1999-11-12 0:00 ` tmoran
1999-11-12 0:00 ` Matthew Heaney
1999-11-12 0:00 ` tmoran
1999-11-12 0:00 ` Matthew Heaney
1999-11-13 0:00 ` Robert A Duff
1999-11-13 0:00 ` Nick Roberts
1999-11-13 0:00 ` Robert A Duff
1999-11-14 0:00 ` tmoran
1999-11-13 0:00 ` Matthew Heaney
1999-11-15 0:00 ` John English
1999-11-15 0:00 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox