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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:98eb:: with SMTP id c40-v6mr8553282jak.32.1531787705135; Mon, 16 Jul 2018 17:35:05 -0700 (PDT) X-Received: by 2002:aca:f495:: with SMTP id s143-v6mr4349113oih.7.1531787704931; Mon, 16 Jul 2018 17:35:04 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g2-v6no5752357itf.0!news-out.google.com!l67-v6ni221itl.0!nntp.google.com!d7-v6no5758373itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 16 Jul 2018 17:35:04 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.171.111.51; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 71.171.111.51 References: <40d568da-4715-42de-8e28-98da39a5c974@googlegroups.com> <34f499f7-020f-4dcc-adad-0ab1113386d1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9d69e7b5-6b2d-4607-9f7b-affa78c41620@googlegroups.com> Subject: Re: Visibility of Indexing aspects From: Jere Injection-Date: Tue, 17 Jul 2018 00:35:05 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2626 X-Received-Body-CRC: 2347255708 Xref: reader02.eternal-september.org comp.lang.ada:53854 Date: 2018-07-16T17:35:04-07:00 List-Id: On Sunday, July 15, 2018 at 11:22:14 PM UTC-4, AdaMagica wrote: > Am Sonntag, 15. Juli 2018 17:33:04 UTC+2 schrieb Jere: > > That's why I started with my original question. It seems very > > odd that it should even be legal. My intuition screamed bug, > > but I couldn't find anything in the RM to say it was illegal. > > What about RM 8 Visibility? 8.2(5,7,9) - all these things are not in the visible part. I looked at that, but saw that 8.2(7), which applies in this case, specifically leaves out the aspect specification of what is considered in/out of the visible part. It says all things within the type_declaration, which is not defined to contain the aspect_specification (though the full_type_declaration does). Additionally, 8.2 only mentions aspects in reference to scopes. I peaked further into section 8.3 but only found: 8.3 (23.1/3): An attribute_definition_clause or an aspect_specification is visible everywhere within its scope. Which sounds like it should be visible even if specified in the private part (though I am not sure I am reading it right). The RM seems very unspecific about visibility of aspects outside of those two spots. What did I miss?