You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecation messages should show informative message (eg the corresponding documentation comment)
eg:
procwriteLn*(s: Stream, args: varargs[string, `$`]) {.deprecated.} =## **Deprecated since version 0.11.4:** Use **writeLine** instead....
using writeLn in code produces this: Warning: writeLn is deprecated [Deprecated]
it should show something like this instead:
option 1: put the whole documentation comment of deprecated function: Warning: writeLn is deprecated ; **Deprecated since version 0.11.4:** Use **writeLine** instead. [Deprecated]
option 2: (if easy to in a general way): Warning: writeLn is deprecated ; Use **writeLine** instead. [Deprecated]
option 3: Warning: writeLn is deprecated (defined at file:line) [Deprecated]