From: Al Johnston <sofeise@mindspring.com>
Subject: Re: HELP: renames and enum values
Date: 2000/04/11
Date: 2000-04-11T15:37:09+00:00 [thread overview]
Message-ID: <38F3461B.59952CA4@mindspring.com> (raw)
In-Reply-To: 8cp1hd$3so$1@nnrp1.deja.com
> > 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????
S Harris gave the "correct" answer to why the above
is not correct (I started this thread, so I get to say what is
correct with respect to my intent). He said:
>It really doesn't rename the type.
>Enumeration literals are not available from
>the subtype.
To get to the values associated with subtype "x" you
still have to reference type "y". This defeats the whole
point of doing the "rename" (implemented as a subtype).
-al
next prev parent reply other threads:[~2000-04-11 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 ` Samuel T. Harris
2000-04-13 0:00 ` Robert Dewar
2000-04-14 0:00 ` John English
2000-04-13 0:00 ` Ted Dennison
2000-04-13 0:00 ` Samuel T. Harris
2000-04-13 0:00 ` Robert A Duff
2000-04-14 0:00 ` Tucker Taft
2000-04-10 0:00 ` Samuel T. Harris
2000-04-11 0:00 ` Al Johnston [this message]
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