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-Thread: a07f3367d7,13aaae984988cb0d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Discriminant and type extensions Date: Fri, 09 Oct 2009 17:42:46 +0200 Organization: Adalog Message-ID: References: <2b205c63-55e7-4cef-95d2-5b0ece0b8866@p9g2000vbl.googlegroups.com> <8e6cbd59-03d2-4152-9585-7b6a97916f55@c3g2000yqd.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1255104753 6216 195.25.228.57 (9 Oct 2009 16:12:33 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 9 Oct 2009 16:12:33 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <8e6cbd59-03d2-4152-9585-7b6a97916f55@c3g2000yqd.googlegroups.com> Xref: g2news2.google.com comp.lang.ada:8635 Date: 2009-10-09T17:42:46+02:00 List-Id: Yannick Duch�ne Hibou57 a �crit : > If only there was a way to check that both parts of a rename clause > use the same name. Like checking that in � NameX Declaration renames > PackageY.NameX � both NameX are the same. > Of course there is! Just use AdaControl: check declaration (non_identical_renaming); -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr