mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
The super suffix was used for any static field/method that needed an accessor. We should only use it when that field or method is inherited.
6 lines
89 B
Kotlin
Vendored
6 lines
89 B
Kotlin
Vendored
private val x: String = "OK"
|
|
private fun f(y: String) = y
|
|
|
|
class A {
|
|
fun g() = f(x)
|
|
} |