From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Use of expression function in protected type
Date: Wed, 21 Jan 2015 14:44:40 -0600
Date: 2015-01-21T14:44:40-06:00 [thread overview]
Message-ID: <m9p33o$48k$1@loke.gir.dk> (raw)
In-Reply-To: ly8ugwo5pm.fsf@pushface.org
"Simon Wright" <simon@pushface.org> wrote in message
news:ly8ugwo5pm.fsf@pushface.org...
...
>> However, an expression_function is allowed
>> to complete a subprogram_declaration, but is not
>> itself a subprogram_declaration (ARM 6.1(30/3).
>> As far as I can tell, it's a basic_declaration,
>> which is allowed in package specifications and
>> bodies, but not in protected_operation_items.
>
> That was my reading, but I wondered whether it was deliberate, an
> oversight, or I'd missed something.
Certainly not deliberate, I'm pretty sure no one ever considered it. We will
now (I've forwarded a version of your message to Ada-Comment).
Randy.
next prev parent reply other threads:[~2015-01-21 20:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 22:34 Use of expression function in protected type Simon Wright
2015-01-21 8:35 ` Egil H H
2015-01-21 9:15 ` Simon Wright
2015-01-21 20:44 ` Randy Brukardt [this message]
2015-01-22 2:50 ` Randy Brukardt
2015-01-22 18:05 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox