From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aaec211ca305e5ee X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: allocators for classwide types? Date: 2000/01/06 Message-ID: #1/1 X-Deja-AN: 569093710 Sender: bobduff@world.std.com (Robert A Duff) References: <38684DEE.6CB6F268@telepath.com> <3868E1B4.D5F6A23C@telepath.com> <3868FB86.4126D0E6@telepath.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-01-06T00:00:00+00:00 List-Id: Ted Dennison 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