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,9034f46cbc36ac57 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-16 18:27:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!wn12feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: "Eric G. Miller" Subject: Re: parent type must not be outside generic body User-Agent: Pan/0.13.1 (It's always funny until somebody immanentizes the eschaton (Debian GNU/Linux)) Message-ID: Newsgroups: comp.lang.ada References: <3dd6c668$0$301$bed64819@news.gradwell.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 17 Nov 2002 02:28:00 GMT NNTP-Posting-Host: 216.119.14.120 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1037500080 216.119.14.120 (Sat, 16 Nov 2002 18:28:00 PST) NNTP-Posting-Date: Sat, 16 Nov 2002 18:28:00 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:30991 Date: 2002-11-17T02:28:00+00:00 List-Id: In <3dd6c668$0$301$bed64819@news.gradwell.net>, Victor Porton wrote: > 1. What in ARM95 deprecated this? Maybe... 3.9.1 Type Extensions 4 A type extension shall not be declared in a generic body if the parent type is declared outside that body. > 2. What are methods of workaround of this where to > declare this type? Maybe use a private section in the generic spec? generic package Foo_Generic is type Foo is tagged null record; private type Bar is new Foo with null record; end Foo_Generic;