comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: limited allocated classwide types
Date: Fri, 04 Nov 2011 08:25:57 -0400
Date: 2011-11-04T08:25:57-04:00	[thread overview]
Message-ID: <82pqh8krai.fsf@stephe-leake.org> (raw)
In-Reply-To: 0ed43f83-40e7-46d3-8cc4-e1c41f500d28@c1g2000vbw.googlegroups.com

Simon Belmont <sbelmont700@gmail.com> writes:

> I am attempting to create a limited, private, controlled type that
> extends an interface type via an allocator (i think that's the right
> termonology) with GNAT (GNATMAKE GPL 2011 20110428), but not having
> much luck.  To summarize, when the access type is that of the concrete
> type, or if the type is made non-limited, everything works as it
> should.  However, when the access type is of the classwide variety and
> the type is limited, things go bananas in a way that I cannot just
> wrap my head around.

With gnat 6.2.1, I get the expected behavior with both variants.

So this was a compiler bug, which has since been fixed.

-- 
-- Stephe



      parent reply	other threads:[~2011-11-04 12:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 22:01 limited allocated classwide types Simon Belmont
2011-11-03 22:50 ` Adam Beneschan
2011-11-03 23:14 ` Simon Wright
2011-11-03 23:35   ` Simon Belmont
2011-11-04  0:30     ` Adam Beneschan
2011-11-04  0:51       ` Adam Beneschan
2011-11-04  7:40     ` Simon Wright
2011-11-04  8:42       ` Dmitry A. Kazakov
2011-11-04  9:18     ` Georg Bauhaus
2011-11-04  9:53     ` Brian Drummond
2011-11-04 16:39       ` Simon Wright
2011-11-04 18:47       ` Adam Beneschan
2011-11-04 20:03         ` Simon Wright
2011-11-08  4:25         ` Randy Brukardt
2011-11-08 12:10           ` Brian Drummond
2011-11-08 12:35             ` Simon Wright
2011-11-08 13:05               ` Dmitry A. Kazakov
2011-11-10  9:56             ` Álex R. Mosteo
2011-11-04 12:25 ` Stephen Leake [this message]
replies disabled

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