Add intrinsic for KCallable.name property Fixes #KT-11531
This commit is contained in:
committed by
Alexander Udalov
parent
b8e2533b58
commit
4a619db721
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
val a = ""
|
||||
fun b() = ""
|
||||
|
||||
fun test() {
|
||||
val a = A::a.name
|
||||
val b = A::b.name
|
||||
val c = ::A.name
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@kotlin.Metadata
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field a: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method b(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.String
|
||||
public final method test(): void
|
||||
}
|
||||
Reference in New Issue
Block a user