mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Now we have type annotations nullability inference. It is used by `asPsiType` (K1 and K2) and from SLC. ^KT-61892 GitOrigin-RevId: 289916faa5e3b78bdcbfdc780f9c92214869c8a8
9 lines
122 B
Kotlin
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
|
|
}
|
|
}
|
|
|