comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Add Deprecated aspect to Ada 2020
Date: Sat, 19 Aug 2017 11:52:46 -0700 (PDT)
Date: 2017-08-19T11:52:46-07:00	[thread overview]
Message-ID: <b8d215ba-3d49-403c-a534-27f4b8a8a00d@googlegroups.com> (raw)

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.";


             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 Lucretia [this message]
2017-08-19 18:52 ` Add Deprecated aspect to Ada 2020 Simon Clubley
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