Files
Anna Kozlova ace14d657d [kotlin] register editorAttributes instead of hardcoded ProblemHighlightType.LIKE_UNUSED_SYMBOL (KTIJ-22110)
so user's settings are respected

GitOrigin-RevId: e6ccce9c874b4e07e316a984ded9b0d0d609f11f
2022-06-25 10:26:00 +00:00

11 lines
362 B
Kotlin

// OUT_OF_CODE_BLOCK: FALSE
// TYPE: '\b"a"'
// INSPECTION-CLASS: org.jetbrains.kotlin.idea.inspections.RedundantInnerClassModifierInspection
// INSPECTION: [GENERIC_ERROR_OR_WARNING:6] Redundant 'inner' modifier
class RedundantInner(private val s: String) {
private inner class D {
fun f(): Int {
return s<caret>.length
}
}
}