From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: prefix of dereference must be a name?
Date: Fri, 31 Jul 2009 14:23:56 +0200
Date: 2009-07-31T14:23:54+02:00 [thread overview]
Message-ID: <enpoiz1sjx5g.hp6oc7p02snu.dlg@40tude.net> (raw)
In-Reply-To: uljm5xdlj.fsf@stephe-leake.org
On Fri, 31 Jul 2009 08:04:56 -0400, Stephen Leake wrote:
> Looking in the annotated language reference manual, I find this in
> 4.1, about what could be allowed as the prefix for .all:
>
> 17.f
> Discussion: Actually, it would be reasonable to allow any
> primary in front of .all, since only the value is needed, but
> that would be a bit radical.
>
> I guess that makes me a radical, which is nothing new :).
>
> And yesterday's "radical" is today's "progressive". That note is from
> the Ada 95 changes; time to move on!
Talking about radicalism it would be much better to remove ".all" where an
object of target type is expected.
A.all := C + B; -- Unambiguous
> But as you say, I want more than a primary, I want an expression. Hmm.
> "primary" includes "qualified_expression". That would save me from
> declaring Copy above. Although when things are class-wide the necessary
> type qualifier can be quite long.
>
> I still don't see the fundamental problem.
Huh, it is the same problem as here:
Two := ("A" & "B")'Length; -- Illegal
too RADICAL ! (:-))
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2009-07-31 12:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 7:09 prefix of dereference must be a name? Stephen Leake
2009-07-30 17:36 ` Yannick Duchêne Hibou57
2009-07-31 12:04 ` Stephen Leake
2009-07-31 12:23 ` Dmitry A. Kazakov [this message]
2009-07-31 21:49 ` Robert A Duff
2009-07-30 19:35 ` John B. Matthews
2009-08-03 14:44 ` Adam Beneschan
2009-08-03 17:46 ` John B. Matthews
2009-08-04 1:45 ` Adam Beneschan
2009-08-04 3:37 ` Yannick Duchêne Hibou57
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox