On Mon, Sep 02, 2002 at 04:40:14AM -0400, Trey Harris wrote:
> An alias? Isn't
>
> class Date is Really::Long::Package::Name::Ugh;
>
> a new class declaration, declaring 'Date' as a subclass of
> Really::Long::Package::Name::Ugh? Because the class body is empty, i.e.
> this line is equivalent to
>
> class Date is Really::Long::Package::Name::Ugh {
> };
>
> it will have a similar effect to aliasing Really::Long::Package::Name::Ugh
> under the name 'Date', simply because the subclass hasn't redefined any
> behavior of the parent. But it *is* a separate class ((new Date()).class
> should return 'Date', not Really::Long::Package::Name::Ugh), unless Damian
> was saying that there would be some special casing when a class
> declaration contains no body.
So, based on what I remember about variables, would
class Date := Really::Long::Package::Name::Ugh;
express aliasing of classes?
Nicholas Clark