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 10.66.240.203 with SMTP id wc11mr508602pac.29.1383289045774; Thu, 31 Oct 2013 23:57:25 -0700 (PDT) X-Received: by 10.49.81.162 with SMTP id b2mr221qey.41.1383289045670; Thu, 31 Oct 2013 23:57:25 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!y3no1277255pbx.0!news-out.google.com!9ni3876qaf.0!nntp.google.com!i2no4389138qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 31 Oct 2013 23:57:25 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.136.185.69; posting-account=K1cP1QoAAAD_GR6kW2Td0NqGqGBLRE8h NNTP-Posting-Host: 178.136.185.69 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <398b83e9-3735-4c8d-a7e4-f4331bfc4f2b@googlegroups.com> Subject: Why formal_part is not a declarative region? From: Maxim Reznik Injection-Date: Fri, 01 Nov 2013 06:57:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17571 Date: 2013-10-31T23:57:25-07:00 List-Id: Hi all, I read ARM "8.1 Declarative Region" for good sleep. I wounder why formal_part neither access_to_subprogram_definition isn't included in list of declarative regions? Consider next example: type T is access function (A : Integer) return access function (A : Float) return Boolean; According to ARM there is declarative region for T. It contains two declaration of A, but this is illegal. What is wrong? -- Maxim Reznik