comp.lang.ada
 help / color / mirror / Atom feed
From: Earl Conrad Pilloud <epilloud@afit.af.mil>
Subject: Q: Generic Instantiation
Date: 1996/07/05
Date: 1996-07-05T00:00:00+00:00	[thread overview]
Message-ID: <4rjtq4$dsl@blackbird.afit.af.mil> (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







                 reply	other threads:[~1996-07-05  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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