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,42795ada22dedd1b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r29g2000hsg.googlegroups.com!not-for-mail From: malaise@magic.fr Newsgroups: comp.lang.ada Subject: Re: Legal usage of downward closures Date: Mon, 27 Aug 2007 03:52:39 -0700 Organization: http://groups.google.com Message-ID: <1188211959.321967.187440@r29g2000hsg.googlegroups.com> References: <1187280678.505830.294720@a39g2000hsc.googlegroups.com> <1187284110.812863.280360@i38g2000prf.googlegroups.com> NNTP-Posting-Host: 192.54.144.229 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1188211959 409 127.0.0.1 (27 Aug 2007 10:52:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 27 Aug 2007 10:52:39 +0000 (UTC) In-Reply-To: <1187284110.812863.280360@i38g2000prf.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 webshield4.thalesgroup.com Complaints-To: groups-abuse@google.com Injection-Info: r29g2000hsg.googlegroups.com; posting-host=192.54.144.229; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1567 Date: 2007-08-27T03:52:39-07:00 List-Id: On 16 ao=FBt, 19:08, Adam Beneschan wrote: > On Aug 16, 9:11 am, mala...@magic.fr wrote: > > The assignment statements are illegal. Every "anonymous access type" > definition defines its own type; therefore Acc1 and Arg don't have the > same type, and neither of those types is the same as Acc2_Type. GNAT > has a bug if it accepts them. > > Furthermore, this would be illegal due to accessibility level rules: > > Acc2 :=3D Acc_Type(Arg); > Thank you. This confirms my initial understanding. I have reported the problem to ACT. Regards