Add compile-time awareness of use sites for DEPRECATED
things.
#448
Labels
complexity 2: significant
This is non-trivial, but still not a major undertaking
kind: feature: compiler
Adding a new compiler feature or platform target
kind: feature: tooling
Adding new tooling or a new feature in existing tooling
It's become common practice for me when I do "rolling breaking changes" in Savi code to mark the old functions/types/etc as being
DEPRECATED
, using an annotation like this:To make these annotations useful, we want to have the compiler be aware of them and expose features related to them, including:
savi
that will include a pass checking for deprecated use sites, that will print any deprecated use sites and fail with a nonzero exit code if any were found.The text was updated successfully, but these errors were encountered: