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,657568723e59e45b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.66.86.6 with SMTP id l6mr9847333paz.11.1351478419683; Sun, 28 Oct 2012 19:40:19 -0700 (PDT) Path: s9ni66480pbb.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!news.mixmin.net!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: Basic issue with dotted notation and tagged types Date: Mon, 22 Oct 2012 15:50:22 +0200 Organization: Ada @ Home Message-ID: References: <23619b66-91a4-4786-b210-8012e648e631@googlegroups.com> NNTP-Posting-Host: jxc7NwPwyonMtGGqk8Yy5Q.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.02 (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: 2012-10-22T15:50:22+02:00 List-Id: Le Mon, 22 Oct 2012 12:52:25 +0200, Marius Amado-Alves = a =C3=A9crit: >> RM2005 4.1.3 (9.2/2): "The designator of the subprogram shall not be = the >> same as that of a component of the tagged type visible at the point o= f >> the selected_component." > > Hmm... shouldn't the compiler complain then? (about the program above)= No, it's the way it is to be interpreted. If you look at the context wha= t = J.P. quoted, it's part of a [Name Resolution = Rules](http://www.adaic.org/resources/add_content/standards/05rm/html/RM= -4-1-3.html) -- = =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