From: "Nick Roberts" <nickroberts@adaos.worldonline.co.uk>
Subject: Renaming an abstract function
Date: Thu, 15 Nov 2001 23:52:10 -0000
Date: 2001-11-15T23:52:10+00:00 [thread overview]
Message-ID: <9t1lp1$16unne$1@ID-25716.news.dfncis.de> (raw)
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
next reply other threads:[~2001-11-15 23:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 23:52 Nick Roberts [this message]
2001-11-16 14:52 ` Renaming an abstract function Stephen Leake
2001-11-17 3:08 ` Adam Beneschan
2001-11-17 17:47 ` Egil Harald Hoevik
2001-11-17 18:33 ` Stephen Leake
2001-11-17 22:00 ` Mark Biggar
2001-11-17 23:17 ` Nick Roberts
2001-11-19 15:38 ` Stephen Leake
2001-11-22 3:14 ` Nick Roberts
2001-11-23 15:40 ` Stephen Leake
2001-11-24 3:55 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox