comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP>
Subject: Re: Add Deprecated aspect to Ada 2020
Date: Sat, 19 Aug 2017 18:52:20 -0000 (UTC)
Date: 2017-08-19T18:52:20+00:00	[thread overview]
Message-ID: <ona1d4$top$1@dont-email.me> (raw)
In-Reply-To: b8d215ba-3d49-403c-a534-27f4b8a8a00d@googlegroups.com

On 2017-08-19, Lucretia <laguest9000@googlemail.com> 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


  reply	other threads:[~2017-08-19 18:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19 18:52 Add Deprecated aspect to Ada 2020 Lucretia
2017-08-19 18:52 ` Simon Clubley [this message]
2017-08-19 18:54 ` Björn Lundin
2017-08-19 20:55   ` Jacob Sparre Andersen
2017-08-19 19:34 ` Dmitry A. Kazakov
2017-08-21 19:09   ` Per Sandberg
2017-08-21 19:34     ` Dmitry A. Kazakov
2017-08-22  5:47       ` J-P. Rosen
2017-08-22  7:38         ` Dmitry A. Kazakov
2017-08-22 19:32           ` Luke A. Guest
2017-08-22 20:04             ` Pascal Obry
2017-08-23  7:11             ` Dmitry A. Kazakov
2017-08-31  1:05       ` Randy Brukardt
2017-08-31 15:19         ` Lucretia
2017-09-01  0:13           ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox