comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Task entries and access to subprograms.
Date: 08 Apr 2005 10:49:18 -0400
Date: 2005-04-08T10:49:18-04:00	[thread overview]
Message-ID: <wcczmw9z5ld.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 42562996.9010306@mailinator.com

"Alex R. Mosteo" <devnull@mailinator.com> writes:

> I see. One thing I've never fully understood (and I'm ashamed to admit
> it, since I've read and forgotten the rationale at least a couple of
> times) is why One (Foo'Access) is illegal in your example. This gives
> multiple headaches (say, using Unchecked_Access :)) in situations who
> are clearly void of risk.

Could you please show an example that is void of risk,
for discussion purposes?

> I think these rules have been somewhat relaxed in 0Y, to add to my
> confusion, but at least now I don't find so many unexpected failed
> checks. It may be simply that the "not null access" moves the check out
> as in your Two example, but I must reread it (both 95 and 0Y).

I didn't know the accessibility rules had changed in *this* area, but I
could be wrong.  Yes, the "not null access" moves the check to a
different place in the code, and moves it from compile time to run time.

- Bob



  reply	other threads:[~2005-04-08 14:49 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
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 [this message]
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