mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Do not skip generation of the left-hand side because it may produce side effects #KT-12995 Fixed
14 lines
203 B
Kotlin
Vendored
14 lines
203 B
Kotlin
Vendored
class A {
|
|
val a = ""
|
|
fun b() = ""
|
|
|
|
fun test() {
|
|
val a = A::a.name
|
|
val b = A::b.name
|
|
val c = ::A.name
|
|
|
|
val d = this::a.name
|
|
val e = A()::b.name
|
|
}
|
|
}
|