Files
openide/plugins/kotlin/idea/tests/testData/refactoring/changeSignature/FunctionJavaUsagesAndOverridesChangeNullabilityAfter.kt
Anna Kozlova 8375e0f334 [java] change signature: ensure that nullability annotations which come from new type override existing non-TYPE_USE
- kotlin brings old annotations and thus it's very possible that after refactoring repeating annotations might appear

^KTIJ-28579 fixed

GitOrigin-RevId: 76f6a1e74827f7cc5f734e93a0c1324f5e068b88
2024-04-24 22:22:26 +00:00

4 lines
76 B
Kotlin

open class A {
open fun foo(n: Int, s: String?, o: Any): String? = ""
}