comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-dejanews.com>
Subject: Re: Attribute definition clause for 'External_Tag
Date: 1999/05/17
Date: 1999-05-17T00:00:00+00:00	[thread overview]
Message-ID: <7ho412$ncu$1@nnrp1.deja.com> (raw)
In-Reply-To: 8b1tUD#n#GA.208@newstoo.hiwaay.net

In article <8b1tUD#n#GA.208@newstoo.hiwaay.net>,
  "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote:
> 1.  Should the 'Image attribute be allowed to define
>     an external tag?

No, because this is not a static expression (you ask why not,
and I am not sure if you are asking a question about the RM,
in which case, the answer is simply that it is not in the list
of static expressions), or about the philosophical design of
Ada 95. If the latter, the answer is simply to keep things
simple, you have to make an arbitrary cut on static expressions,
and this one did not seem important enough.

> 2.  Should the compiler reject identical External_Tag
>     attributes for types with a common ancestor?

Certainly not, what RM authority would there be for such
rejection. Sure it is a bit odd if the programmer does this,
but I see no illegality here. If you think it is illegal, please
give your argument from the RM.

A warning would be reasonable perhaps ...


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




      reply	other threads:[~1999-05-17  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-16  0:00 Attribute definition clause for 'External_Tag David C. Hoos, Sr.
1999-05-17  0:00 ` Robert Dewar [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox