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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9d8db3defac005a2,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-15 16:25:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!ppp-1-117.cvx6.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Renaming an abstract function Date: Thu, 15 Nov 2001 23:52:10 -0000 Message-ID: <9t1lp1$16unne$1@ID-25716.news.dfncis.de> NNTP-Posting-Host: ppp-1-117.cvx6.telinco.net (212.1.156.117) X-Trace: fu-berlin.de 1005869666 40853230 212.1.156.117 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:16598 Date: 2001-11-15T23:52:10+00:00 List-Id: When given the program: package Test1 is type T is abstract tagged limited private; function P (X, Y: in T) return T is abstract; function "*" (A, B: in T) return T renames P; -- error line private type T is abstract tagged limited null record; end; GNAT 3.12p on Windows 95 returns the error message: function that returns abstract type must be abstract Is this a bug in: (a) GNAT; (b) the RM95; or (c) my brain? Full detailed explanation welcome (if applicable). -- Best wishes, Nick Roberts