comp.lang.ada
 help / color / mirror / Atom feed
* Bug: compiler hangs on circular type dependency
@ 2003-01-21  2:06 Victor Porton
  2003-01-21  5:09 ` James S. Rogers
  2003-01-21 18:43 ` Victor Porton
  0 siblings, 2 replies; 7+ messages in thread
From: Victor Porton @ 2003-01-21  2:06 UTC (permalink / raw)


This is sent to report@gnat.com and duplicated in comp.lang.ada

Gnat (both 3.14 and 3.15) hangs on compiling the following
(erraneous) stuff:

package P is
    type A is tagged null record;
    type B is new A with private;
    type C is new A with private;
private
    type B is new C with null record;
    type C is new B with null record;
end P;

BTW, comp.lang.ada, what in Ada Standard deprecated such circularity?
Isn't it forgotten in the Standard itself?



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-01-23 17:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-21  2:06 Bug: compiler hangs on circular type dependency Victor Porton
2003-01-21  5:09 ` James S. Rogers
2003-01-21  6:24   ` tmoran
2003-01-21  7:12   ` Victor Porton
2003-01-21 14:02   ` Wes Groleau
2003-01-21 18:43 ` Victor Porton
2003-01-23 17:12   ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox