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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2c1aef7e0a2350d1,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y9g2000yqg.googlegroups.com!not-for-mail From: pascal.malaise@gmail.com Newsgroups: comp.lang.ada Subject: Extending a type and Finalization Date: Thu, 4 Jun 2009 10:45:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 78.224.49.155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1244137502 2468 127.0.0.1 (4 Jun 2009 17:45:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Jun 2009 17:45:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y9g2000yqg.googlegroups.com; posting-host=78.224.49.155; posting-account=uO_vzwoAAAAM7jhNZDkCkZpIghqP_5r8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6263 Date: 2009-06-04T10:45:02-07:00 List-Id: Hi Ada experts, I have defined a tagged type T in a package P. In another package I want to extend it new attributes and interfaces. type TT is new P.T with... and ... but the new attributes require Ada.Finalization and Limited_Controlled is a tagged type (not an interface). Can I extend a type and together define the finalization of the new type, and how? Thank you in advance