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,3162283879cdc5f2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.12.200 with SMTP id a8mr5490376wic.1.1369279463346; Wed, 22 May 2013 20:24:23 -0700 (PDT) Path: fw11ni1137wic.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!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: Type vs subtype about visibility of parent's private full definition Date: Wed, 15 May 2013 22:45:24 +0200 Organization: Ada @ Home Message-ID: References: <309db8ab-239d-4b06-9450-3a0b098f3953@googlegroups.com> NNTP-Posting-Host: OfAnMWgbudyytzVsLvVciA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (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-05-15T22:45:24+02:00 List-Id: Le Wed, 15 May 2013 16:44:05 +0200, Adam Beneschan a = =C3=A9crit: > 7.3.1(4) says that the Value component should be visible at that point= . = > This is a compiler bug. > > -- Adam Indeed this looks to say it. I would have not thought to look in =E2=80=9C= 7.3.1 = Private Operations=E2=80=9D as this was not about operation, and =E2=80=9C= 8.3 Visibility=E2=80=9D = does not refers to it neither. Sometime it's not that easy to seek in th= e = RM :p (even using the Index). So I will go with subtype anyway (have no choice), and will mark this wi= th = a comment like =E2=80=9C-- GNAT bug=E2=80=9D to remind me (and may be ot= hers, who know) = it's not an Ada issue. Thanks Adam :) -- = =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