From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Task entries and access to subprograms.
Date: Thu, 07 Apr 2005 09:23:56 +0200
Date: 2005-04-07T09:23:56+02:00 [thread overview]
Message-ID: <4254E00C.30908@mailinator.com> (raw)
In-Reply-To: <sz05e.2222$yq6.1165@newsread3.news.pas.earthlink.net>
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.
next prev parent reply other threads:[~2005-04-07 7:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 10:25 Task entries and access to subprograms Alex R. Mosteo
2005-04-06 10:54 ` Adrien Plisson
2005-04-06 12:06 ` Dmitry A. Kazakov
2005-04-06 12:22 ` Alex R. Mosteo
2005-04-07 2:05 ` Jeffrey Carter
2005-04-07 7:23 ` Alex R. Mosteo [this message]
2005-04-07 14:01 ` Robert A Duff
2005-04-07 23:23 ` Randy Brukardt
2005-04-08 6:49 ` Alex R. Mosteo
2005-04-08 14:49 ` Robert A Duff
2005-04-08 15:23 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox