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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2c1aef7e0a2350d1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news2.google.com!postnews.google.com!f19g2000yqh.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Extending a type and Finalization Date: Thu, 4 Jun 2009 11:00:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <303a64d4-2fdd-47fe-ae4b-3ddf1912cffe@f19g2000yqh.googlegroups.com> References: NNTP-Posting-Host: 77.198.58.250 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1244138433 28160 127.0.0.1 (4 Jun 2009 18:00:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Jun 2009 18:00:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f19g2000yqh.googlegroups.com; posting-host=77.198.58.250; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6264 Date: 2009-06-04T11:00:33-07:00 List-Id: On 4 juin, 19:45, pascal.mala...@gmail.com wrote: > but the new attributes require Ada.Finalization and Limited_Controlled > is a tagged type (not an interface). When you talk about attributes, do you mean =93components=94 of the record ? > Can I extend a type and together define the finalization of the new > type, and how? If you are indeed talking about the record's components, then you are not required to make the whole record controlled. You can do it on individual compononents which requires this.