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,a1a7a64f0d47e271 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: [Q]: Generic subprogram instantiation Date: 1996/07/06 Message-ID: #1/1 X-Deja-AN: 164041197 references: organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-07-06T00:00:00+00:00 List-Id: In article , Michael Bartz wrote: > procedure sub_main is new sub_main(galois); ^^^^^^^^ 1 ^^^^^^^^ 2 The sub_main at 1 hides the outer sub_main, which you then illegally try to reference at 2. Call the procedure something different from the generic. (Note that generic procedures are NOT overloadable, unlike procedures.) - Bob