Skip to content

Commit 658ffa6

Browse files
committed
Add deprecated modifier to cleanup diagnostic list
1 parent 539aed3 commit 658ffa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

idea/src/org/jetbrains/kotlin/idea/inspections/KotlinCleanupInspection.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ class KotlinCleanupInspection : LocalInspectionTool(), CleanupLocalInspectionToo
9999
Errors.COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT,
100100
ErrorsJs.WRONG_EXTERNAL_DECLARATION,
101101
Errors.YIELD_IS_RESERVED,
102-
Errors.DEPRECATED_MODIFIER_FOR_TARGET
102+
Errors.DEPRECATED_MODIFIER_FOR_TARGET,
103+
Errors.DEPRECATED_MODIFIER
103104
)
104105

105106
private fun Diagnostic.isObsoleteLabel(): Boolean {

0 commit comments

Comments
 (0)