Files
openide/plugins/kotlin/idea/tests/testData/refactoring/changeSignature/PropagateWithThisQualificationInClassMemberAfter.kt
Dmitrii Gridin a31abb5ce1 [kotlin] update after type nullability inference introduction
Now we have type annotations nullability inference.
It is used by `asPsiType` (K1 and K2) and from SLC.

^KT-61892

GitOrigin-RevId: 289916faa5e3b78bdcbfdc780f9c92214869c8a8
2024-04-05 06:38:11 +02:00

9 lines
122 B
Kotlin

fun <caret>foo(n: Int): Int = 1
class A(val n: Int) {
fun bar(n: Int): Int {
return foo(n) + this.n
}
}