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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Add Deprecated aspect to Ada 2020 Date: Sat, 19 Aug 2017 18:52:20 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Sat, 19 Aug 2017 18:52:20 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="fc71933d4ad5fc6a656ad10cd54c8803"; logging-data="30489"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3JzwZ2QlPO1a8qEjSBpAT7lvP67qyzxE=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:UEiWOx5v2y85S4ysuOk2aStTF4k= Xref: news.eternal-september.org comp.lang.ada:47755 Date: 2017-08-19T18:52:20+00:00 List-Id: On 2017-08-19, Lucretia wrote: > Hi, > > I'm sure plenty of people have libs where certain parts have been deprecated over time. It would be a nice addition to have an aspect to say this and emit a custom warning when it's used. > > function A return B with > Deprecated => "Will be removed in version x.y.z, please use C instead."; You may want to re-think the wording of that example text. :-) [Sorry, but I couldn't resist. :-)] Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world