Linting rules
E004: deprecated-symbol-use
Checks for usage of deprecated symbols in code.
Metadata
Code:E004Rule:deprecated-symbol-useStatus: Stable sincev0.0.1Quick fix: not available
What it does
Checks for usage of deprecated symbols in code.
Why is this bad?
Using deprecated symbols can lead to compatibility issues, unexpected behavior, or reliance on outdated APIs. Such symbols may be removed in future versions.
Example
@deprecated
fun oldFunction() {
// some deprecated logic
}
fun main() {
oldFunction();}Last updated on