From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,41a81b1d63fad8fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-19 08:04:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fr.clara.net!heighliner.fr.clara.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: TASH and gcc-3.2 -- no selector Obj for type Tash_List ... Date: 19 Jan 2003 17:04:10 +0100 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: NNTP-Posting-Host: avelizy-103-1-2-191.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader11.wanadoo.fr 1042992255 14626 217.128.15.191 (19 Jan 2003 16:04:15 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 19 Jan 2003 16:04:15 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 Xref: archiver1.google.com comp.lang.ada:33209 Date: 2003-01-19T16:04:15+00:00 List-Id: "Eric G. Miller" writes: > > ... > 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; > ... > > > ... > type Tash_List is new Tash.Tash_Object with null record; > ... > > > ... > 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