comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: GNAT GPL, generics
Date: Sun, 2 Oct 2005 11:15:08 +0200
Date: 2005-10-02T11:15:08+02:00	[thread overview]
Message-ID: <60bvjt9vl07y$.1nmt309hh2hhr.dlg@40tude.net> (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



             reply	other threads:[~2005-10-02  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02  9:15 Dmitry A. Kazakov [this message]
2005-10-02  9:24 ` GNAT GPL, generics Dmitry A. Kazakov
2005-10-02 10:06 ` Dmitry A. Kazakov
2005-10-03  8:36 ` Alex R. Mosteo
replies disabled

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