comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: allocators for classwide types?
Date: 2000/01/06
Date: 2000-01-06T00:00:00+00:00	[thread overview]
Message-ID: <wccln63xpf5.fsf@world.std.com> (raw)
In-Reply-To: 3868FB86.4126D0E6@telepath.com

Ted Dennison <dennison@telepath.com> writes:

>    function Get (Package_1 : in Package_1.Class;
>                  F2 : in Package_2.Class
>                 ) return Descriptor;

This is illegal.  The parameter Package_1 hides the package Package_1,
so you can't say "Package_1.Class" in the declaration of the parameter.

If the error message was confusing, then maybe that's a bug, but
certainly the compiler should give *some* error message.

- Bob




  reply	other threads:[~2000-01-06  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-28  0:00 allocators for classwide types? Ted Dennison
1999-12-28  0:00 ` Robert A Duff
1999-12-28  0:00   ` Ted Dennison
1999-12-28  0:00     ` Ted Dennison
2000-01-06  0:00       ` Robert A Duff [this message]
2000-01-07  0:00         ` Robert Dewar
replies disabled

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