From: Tony <truand.tony@gmail.com>
Subject: Discriminant ans tagged type ?!
Date: Tue, 18 Mar 2008 16:22:36 +0100
Date: 2008-03-18T16:22:37+01:00 [thread overview]
Message-ID: <47dfde3d$0$26828$426a74cc@news.free.fr> (raw)
I just do not understand why the following code compiles with the Aonix
compiler and not with the Gnat GPL 2007?
package A_Pkg is
type A (L : Natural) is tagged null record;
end A_Pkg;
package A_Pkg.B_Pkg is
type B is new A with record
T : String(1..L);
end record;
end A_Pkg.B_Pkg;
with A_Pkg.B_Pkg;
procedure Strange is
begin
null;
end Strange;
=> RM95 3.7 (18) ??
next reply other threads:[~2008-03-18 15:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 15:22 Tony [this message]
2008-03-18 15:54 ` Discriminant ans tagged type ?! Adam Beneschan
2008-03-18 19:54 ` Adam Beneschan
2008-03-21 8:18 ` Tony
2008-03-21 15:25 ` Adam Beneschan
2008-03-21 16:46 ` Simon Wright
2008-03-22 9:05 ` Tony
2008-04-04 15:40 ` Tom Grosman
2008-03-18 18:40 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox