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!d14g2000yqb.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Ada2012 Invariants and obaque types Date: Tue, 21 Jun 2011 04:48:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9d3d29af-fec3-475c-a174-9f835845cb16@d14g2000yqb.googlegroups.com> References: <239a78ad-0937-4a7a-8163-231430fd5ffe@k27g2000yqn.googlegroups.com> NNTP-Posting-Host: 86.142.201.79 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1308656882 13155 127.0.0.1 (21 Jun 2011 11:48:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Jun 2011 11:48:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d14g2000yqb.googlegroups.com; posting-host=86.142.201.79; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19976 Date: 2011-06-21T04:48:02-07:00 List-Id: On Jun 21, 12:31=A0pm, Robert A Duff wrote: > Martin writes: > > A fairly common Ada idiom is to define the full view of a private type > > using an incomplete declaration. Thus leaving the actual > > implementation to the package spec. > > Body? Yes! > I suggest you erase the invariant, fix the errors, and then put the > invariant back in. =A0There's nothing wrong with your invariant. Did that...but still getting an error - see my post from 12:14. TIA -- Martin