comp.lang.ada
 help / color / mirror / Atom feed
From: csampson@cod.nosc.mil (Charles H. Sampson)
Subject: Elaboration_check For Instantiations
Date: 1997/10/23
Date: 1997-10-23T00:00:00+00:00	[thread overview]
Message-ID: <1997Oct23.202211.24396@nosc.mil> (raw)


     Apology in advance: I don't get to read this newsgroup as much as 
I would like.  I feel certain that my question has been discussed at 
great length, but I haven't been able to locate it in any FAQ.  If my 
feeling is right, just give me a reference, rather than opening the 
whole issue again.

     The instantiation in the following code was valid in Ada 83:

          PACKAGE Ginspec IS

             GENERIC
                Param : IN Integer;
             PROCEDURE Template;

             PROCEDURE Instantiation IS NEW Template (1);

          END Ginspec;

     If it wasn't valid, at least it worked in several compilers and I am 
aware of a healthy body of code that makes use of this capability.  It 
is no longer valid in Ada 95, thanks to 3.11(13).

     My question is, why was this change made?  Skimming the rationale, 
I see no mention of it.  I don't recall it being discussed in any paper 
on 83/95 incompatibilities that I've read.

 				Charlie
--
******

    If my user name appears as "csampson", remove the 'c' to get my
correct e-mail address.




             reply	other threads:[~1997-10-23  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-23  0:00 Charles H. Sampson [this message]
1997-10-23  0:00 ` Elaboration_check For Instantiations Charles H. Sampson
1997-10-24  0:00   ` Tucker Taft
1997-10-24  0:00     ` Robert Dewar
1997-10-27  0:00       ` Charles H. Sampson
1997-10-27  0:00         ` Robert Dewar
1997-10-28  0:00           ` Charles H. Sampson
1997-10-28  0:00             ` Keith Thompson
1997-10-28  0:00               ` Charles H. Sampson
1997-10-29  0:00                 ` Robert Dewar
1997-10-29  0:00                   ` Charles H. Sampson
1997-10-29  0:00                 ` W. Wesley Groleau x4923
1997-10-29  0:00                   ` Tom Moran
1997-10-30  0:00                     ` Larry Kilgallen
1997-10-30  0:00                   ` Charles H. Sampson
     [not found]                   ` <345774b3.1434102@santaclara01.news.internex.net>
1997-10-30  0:00                     ` Charles H. Sampson
1997-10-29  0:00             ` Robert Dewar
1997-10-27  0:00     ` Charles H. Sampson
1997-10-27  0:00       ` Robert Dewar
1997-10-24  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