From: bobduff@world.std.com (Robert A Duff)
Subject: Re: [Q]: Generic subprogram instantiation
Date: 1996/07/06
Date: 1996-07-06T00:00:00+00:00 [thread overview]
Message-ID: <Du4vL2.A14@world.std.com> (raw)
In-Reply-To: m-bartz-0507961333140001@macgalois.ee.memst.edu
In article <m-bartz-0507961333140001@macgalois.ee.memst.edu>,
Michael Bartz <m-bartz@memphis.edu> 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
next prev parent reply other threads:[~1996-07-06 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-05 0:00 [Q]: Generic subprogram instantiation Michael Bartz
1996-07-06 0:00 ` Robert A Duff [this message]
1996-07-11 0:00 ` Tucker Taft
1996-07-11 0:00 ` Robert A Duff
1996-07-06 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