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: a07f3367d7,146d9a693430fff2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!e21g2000vbz.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Ada2012 Invariants and obaque types Date: Tue, 21 Jun 2011 05:22:04 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <239a78ad-0937-4a7a-8163-231430fd5ffe@k27g2000yqn.googlegroups.com> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1308658925 1060 127.0.0.1 (21 Jun 2011 12:22:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Jun 2011 12:22:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e21g2000vbz.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19982 Date: 2011-06-21T05:22:04-07:00 List-Id: On Jun 21, 1:13=A0pm, Robert A Duff wrote: > Martin writes: > > package P1 is > > =A0 =A0type T1 is tagged private > > =A0 =A0 =A0with Invariant =3D> True; =A0-- NB: not even a 'real' functi= on > > private > > =A0 =A0type Imp; > > =A0 =A0type Imp_Ref is not null access Imp; > > =A0 =A0type T1 is tagged > > =A0 =A0 =A0 record > > =A0 =A0 =A0 =A0 =A0I : Imp_Ref; > > =A0 =A0 =A0 end record; > > end P1; > > > which produces the same original error: > > Looks like a compiler bug. > > - Bob Thanks! I'll just have to stick with "with Post =3D>" on all the operations instead for now...until GNAT GPL 2012!! :-) Shame the GPL version only updates once per year...don't suppose there's any chance of even a twice-yearly release schedule?... -- Martin