From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,43127f177a55dc41 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.43.117.133 with SMTP id fm5mr19248087icc.7.1320409553186; Fri, 04 Nov 2011 05:25:53 -0700 (PDT) Path: p6ni70159pbn.0!nntp.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: limited allocated classwide types References: <0ed43f83-40e7-46d3-8cc4-e1c41f500d28@c1g2000vbw.googlegroups.com> Date: Fri, 04 Nov 2011 08:25:57 -0400 Message-ID: <82pqh8krai.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:NUpAC76EndrqawSy+EnFlxQiJf0= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: df2ee4eb3d9d0e029e66109612 Xref: news1.google.com comp.lang.ada:18827 Content-Type: text/plain; charset=us-ascii Date: 2011-11-04T08:25:57-04:00 List-Id: Simon Belmont 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