comp.lang.ada
 help / color / mirror / Atom feed
* GNAT GPL, generics
@ 2005-10-02  9:15 Dmitry A. Kazakov
  2005-10-02  9:24 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dmitry A. Kazakov @ 2005-10-02  9:15 UTC (permalink / raw)


It seems that in GNAT GPL generics are even more buggy than they were in
3.15p. The most interesting new "feature" is that you can have spec. and
body compiled and yet get errors in them upon instantiation, just like in
C++ templates! Another is that declarations in formal packages of a generic
child can somewhat hide (without being "use"-ed!) declarations of the
parent. It is almost impossible to use parameters of parameters:

generic
   with package A (<>);
   with package B (A.Something);
package C is

It will be a total mess in the children of C.

Does anybody have experience with?

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



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

end of thread, other threads:[~2005-10-03  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-02  9:15 GNAT GPL, generics Dmitry A. Kazakov
2005-10-02  9:24 ` Dmitry A. Kazakov
2005-10-02 10:06 ` Dmitry A. Kazakov
2005-10-03  8:36 ` Alex R. Mosteo

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