comp.lang.ada
 help / color / mirror / Atom feed
* Q: Generic Instantiation
@ 1996-07-05  0:00 Earl Conrad Pilloud
  0 siblings, 0 replies; only message in thread
From: Earl Conrad Pilloud @ 1996-07-05  0:00 UTC (permalink / raw)



Help,
I'm trying to compile an instantiation of a generic B-Tree package 
with GNAT 2.7.2 on an SGI machine and I got this error!!
(compiler is complaining about finding the thing it is expecting)


254. Insert (Targeted_B_Plus_Tree.Root_Node.Subtree(0).Item_Container, Non_Key_Information);
                                                                       |
>>> error: expected private type "Object" defined at dis_entity.ads:83

254.          Insert (Targeted_B_Plus_Tree.Root_Node.Subtree(0).Item_Container, Non_Key_Information);
                                                                                |
>>> error: found private type "Object" defined at dis_entity.ads:83


The "Insert" being called is a subprogram in an instantiation of a 
generic set package to hold items of type "Object".

Am I in trouble because I'm trying to instantiate using formal
parameters which come from the instantiation of another generic?

Thanks

Conrad







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-05  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-05  0:00 Q: Generic Instantiation Earl Conrad Pilloud

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