Skip to content

Commit

Permalink
Revert "Suppress deprecation to avoid warnings"
Browse files Browse the repository at this point in the history
This reverts commit a3d1650a4724cb125ff29f9a2d42b81d6c5ddbd8.
  • Loading branch information
3flex committed Apr 11, 2024
1 parent 7fa338d commit 130a53b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,5 @@ class Deprecation(config: Config) : Rule(
bindingContext.diagnostics
.forElement(element)
.firstOrNull { it.factory == Errors.DEPRECATION }
?.let {
// Not a redundant suppression. See https://youtrack.jetbrains.com/issue/KT-61893
@Suppress("DEPRECATION")
Errors.DEPRECATION.cast(it)
}
?.let { Errors.DEPRECATION.cast(it) }
}

0 comments on commit 130a53b

Please sign in to comment.