comp.lang.ada
 help / color / mirror / Atom feed
From: "Samuel T. Harris" <samuel_t_harris@Raytheon.com>
Subject: Re: HELP: renames and enum values
Date: 2000/04/10
Date: 2000-04-10T00:00:00+00:00	[thread overview]
Message-ID: <38F20B2B.5D60B609@Raytheon.com> (raw)
In-Reply-To: 8cp1hd$3so$1@nnrp1.deja.com

Robert Dewar wrote:
> 
> In article <38EE494D.DDB9CE9@mindspring.com>,
>   Al Johnston <sofeise@mindspring.com> wrote:
> 
> > What I really want here is a rename of a data type,
> > which doesn't seem to be available in ada...
> 
> subtype x is y;
> 
> why isn't that good enough for renaming purposes????
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

It really doesn't rename the type.
Enumeration literals are not available from
the subtype.

When I do a package rename, I can reference
all the package content from the renamed
package.

So subtyping is related, but not
the same, as renaming.

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Aerospace Engineering Services
"If you can make it, We can fake it!"




  parent reply	other threads:[~2000-04-10  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <38ECE0EB.4BD4A53E@mindspring.com>
2000-04-07  0:00 ` HELP: renames and enum values Samuel T. Harris
2000-04-07  0:00   ` Al Johnston
2000-04-09  0:00     ` Robert Dewar
2000-04-09  0:00       ` dale
2000-04-09  0:00         ` Robert Dewar
2000-04-10  0:00           ` Dale Stanbrough
2000-04-13  0:00             ` John English
2000-04-13  0:00               ` Ted Dennison
2000-04-13  0:00                 ` Robert A Duff
2000-04-13  0:00                 ` Samuel T. Harris
2000-04-13  0:00               ` Robert Dewar
2000-04-14  0:00                 ` John English
2000-04-13  0:00               ` Samuel T. Harris
2000-04-14  0:00               ` Tucker Taft
2000-04-10  0:00       ` Samuel T. Harris [this message]
2000-04-11  0:00       ` Al Johnston
2000-04-10  0:00     ` Samuel T. Harris
2000-04-11  0:00       ` Al Johnston
2000-04-11  0:00 ` Tucker Taft
replies disabled

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