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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,93ab7fc5388e249 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-04 17:32:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail Message-ID: <3C0D78E0.763@li.net> From: Vincent Marciante X-Mailer: Mozilla 3.0 (OS/2; I) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.3 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 04 Dec 2001 20:31:12 -0500 NNTP-Posting-Host: 168.191.118.134 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1007515941 168.191.118.134 (Wed, 05 Dec 2001 01:32:21 GMT) NNTP-Posting-Date: Wed, 05 Dec 2001 01:32:21 GMT Organization: Verio Xref: archiver1.google.com comp.lang.ada:17423 Date: 2001-12-04T20:31:12-05:00 List-Id: Ted Dennison wrote: > > Anyway, the only way I know to un-primitive a subprogram is to tack 'Class on > the end of the type. Gnat rejects that too, saying that 'Class only works on > tagged types. So first it says the types are tagged, then it says they aren't. I > sure wish it would make up its mind! :-) You could try something like: package xxxxx is type y_type is .... procedure primative (p : y_type); ... package nonprimative is procedure z (p : y_type); ... end nonprimative; procedure z (p : y_type) renames nonprimative.z; ... end xxxxx; I did not compile to check for sure that xxxx.z is not primative but nonprimative.z definately is. Vinny