From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,FROM_ADDR_WS autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 16 Jan 92 00:06:25 GMT From: sdd.hp.com!cs.utexas.edu!ut-emx!emx.utexas.edu@hplabs.hpl.hp.com (David A. Hasan) Subject: generic subprogs. in a package Message-ID: <65114@ut-emx.uucp> List-Id: OK, I give up. I can't figure out why the DEC compiler is rejecting the following package spec. Can anyone point out the obvious thing I must be overlooking? PACKAGE test IS PROCEDURE f; FUNCTION f RETURN Integer; GENERIC n : Boolean; FUNCTION f RETURN Integer; END test; ---DEC compiler diagnostics: 6 GENERIC ..........1 %ADAC-E-REDECLERR, (1) Illegal redeclaration of procedure specification f at line 2 [LRM 8.3(17)] --David A. Hasan -- Center for Space Research -- University of Texas at Austin