From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: TASH and gcc-3.2 -- no selector Obj for type Tash_List ...
Date: 19 Jan 2003 17:04:10 +0100
Date: 2003-01-19T16:04:15+00:00 [thread overview]
Message-ID: <uhec586th.fsf@wanadoo.fr> (raw)
In-Reply-To: slrnb2l45f.eg7.felix@calico.local
"Eric G. Miller" <felix@calico.local> writes:
> <tash.ads>
> ...
> type Tash_Object is abstract tagged private;
> ...
> private
>
> type Tash_Object is abstract new Ada.Finalization.Controlled with
> record
> Obj : Tcl.Tcl_Obj;
> end record;
> ...
>
> <tash-lists.ads>
> ...
> type Tash_List is new Tash.Tash_Object with null record;
> ...
>
> <tash-arrays.adb>
> ...
> procedure Set_Element (
> TArray : in out Tash_Array;
> Index : in String;
> Value : in Tash.Lists.Tash_List) is
> ...
> Listv(2) := Value.Obj;
> ...
>
> Well, a Tash_List is a new Tash_Object which has a private member Obj
> which should be visible in child packages of Tash...
>
> Did I miss anything?
Obj is not visible from child package TASH.Arrays. So Set_Element can't
access it.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
next prev parent reply other threads:[~2003-01-19 16:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-19 11:48 TASH and gcc-3.2 -- no selector Obj for type Tash_List Eric G. Miller
2003-01-19 16:04 ` Pascal Obry [this message]
2003-01-20 0:19 ` Eric G. Miller
2003-01-20 6:03 ` Eric G. Miller
2003-01-21 5:45 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox