From: porton@ex-code.com (Victor Porton)
Subject: parent type must not be outside generic body
Date: Sun, 17 Nov 2002 03:26:58 +0500
Date: 2002-11-16T22:27:52+00:00 [thread overview]
Message-ID: <3dd6c668$0$301$bed64819@news.gradwell.net> (raw)
1. What in ARM95 deprecated this?
2. What are methods of workaround of this where to
declare this type?
x.adb:3:24: parent type must not be outside generic body
x.ads:
generic
package X is
type Base is tagged null record;
procedure P;
end;
x.adb:
package body X is
type Derived is new Base with null record;
procedure P is
begin
null;
end;
end X;
next reply other threads:[~2002-11-16 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-16 22:26 Victor Porton [this message]
2002-11-17 2:28 ` parent type must not be outside generic body Eric G. Miller
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox