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,bdf542b1399c1cbe X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Elaboration of nested packages. Date: 1997/06/20 Message-ID: #1/1 X-Deja-AN: 251466051 References: Organization: New York University Newsgroups: comp.lang.ada Date: 1997-06-20T00:00:00+00:00 List-Id: Bill Keen asks about <> This is invalid code, since the instantiation appears before the body of the generic. It should raise Program_Error, but this check is not in GNAT 3.07. The current version of GNAT (3.10) will generate a static warning that this instantiation will raise Program_Error, and then if you execute the program, it *will* raise program_error.