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: 103376,e1c47fd1b76b1c05 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Task entries and access to subprograms. Date: Thu, 07 Apr 2005 09:23:56 +0200 Message-ID: <4254E00C.30908@mailinator.com> References: <4253B917.5070800@mailinator.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 12XlOcn2MIDez0Re3cZZ2g0po3p8emla2rucR6oL6qTRMNZqw= User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:10312 Date: 2005-04-07T09:23:56+02:00 List-Id: Jeffrey Carter wrote: > Alex R. Mosteo wrote: > >> type AInt is access all Integer; >> type Code is access procedure; > > >> entry Two (I : AInt); -- No complaint. Legal? > > > This was legal in Ada 83, and that wasn't changed by Ada 95. > >> entry Four (C : Code); -- No complaint. > > > There's a difference between access parameters and parameters of an > access type. Yep. I just feel a bit disturbed when something with a so easy workaround is forbidden. I see reading the rationale that here the prohibition is more of a convenience for the compiler writers than a true restriction for users.