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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9e1394d0159e1c9a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.106.161 with SMTP id gv1mr3030995wib.4.1363060726804; Mon, 11 Mar 2013 20:58:46 -0700 (PDT) Path: g1ni60715wig.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT 4.8 bug with subtype predicate Date: Thu, 07 Mar 2013 03:14:28 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: 2LxnHgvKpADqRhp9m0TZ+A.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.14 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-03-07T03:14:28+01:00 List-Id: Le Thu, 07 Mar 2013 03:11:55 +0100, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > The error also disappears if I only have this in the public part > > > function F (I : T) return Positive; > > > =E2=80=A6then have this in the private part: > > > function F (I : T) return Positive > is (Positive'Val (T'Pos (I))); Forget to say that may not be OK neither, if `F` is intended to be defin= ed = in the public part of the package spec' -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity