JVM_IR: generate shorter names for classes in delegate initializers
#KT-41493 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
operator fun (() -> String).getValue(thisRef: Any?, property: Any?) = this()
|
||||
|
||||
fun foo() {
|
||||
val prop by { "OK" }
|
||||
}
|
||||
|
||||
// METHOD : ObjectInLocalPropertyDelegateKt$foo$prop$2.invoke()Ljava/lang/String;
|
||||
// VARIABLE : NAME=this TYPE=LObjectInLocalPropertyDelegateKt$foo$prop$2; INDEX=0
|
||||
Reference in New Issue
Block a user