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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: How to get nice with GNAT? Date: Wed, 26 Nov 2014 07:18:53 +0100 Organization: A noiseless patient Spider Message-ID: References: <0d8452a9-68c9-4835-b6f3-17407132ca9f@googlegroups.com> <8194a204-7b15-463d-a2fd-4d3ba342fe97@googlegroups.com> <8f203a9a-6c7c-4614-bc7d-efa65bf10776@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 Nov 2014 06:18:39 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="2b3884a634d8f846e0712b4e3a92507a"; logging-data="24564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mog5Vfc2wCDJhYI5ACEt/" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: Cancel-Lock: sha1:zyOa/sPTHqo6apDMbrJGAKTwmNQ= Xref: number.nntp.giganews.com comp.lang.ada:191038 Date: 2014-11-26T07:18:53+01:00 List-Id: Le 26/11/2014 00:30, Simon Wright a écrit : > We discovered that some misguided people had used > > exception > when others => null; > end; > > and I had the fun of using ASIS to check the whole application for this > pattern via ASIS2XML and an xslt-based report. > > Today I expect we'd use AdaControl. I have to say I don't remember > whether we could have then (probably about 2007). You could ;-). The rule to check this (statements (exception_others_null)) has been introduced in version 1.5r16, october 2006. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr