[
https://bro-tracker.atlassian.net/browse/BIT-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21974#comment-21974
]
Vern Paxson commented on BIT-1474:
----------------------------------
One thing to add is the need for some sort of option/context such that users
can control when the message about the deprecated variable gets displayed.
> Improve signaling of deprecated code
> ------------------------------------
>
> Key: BIT-1474
> URL: https://bro-tracker.atlassian.net/browse/BIT-1474
> Project: Bro Issue Tracker
> Issue Type: New Feature
> Components: Bro
> Affects Versions: git/master
> Reporter: Matthias Vallentin
> Labels: language
>
> Based on discussion in BIT-1411, we need a better mechanism for deprecating
> code. In particular, Vern suggested the attribute {{&deprecate=expr}} syntax
> where {{expr}} would be an expression that evaluates at the point of use of
> the deprecated construct and would show the user a hint on how to migrate.
--
This message was sent by Atlassian JIRA
(v7.0.0-OD-02-259#70102)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev