Fix access to top level delegated property from another property
#KT-5612 Fixed
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// KT-5612
|
||||
|
||||
class Delegate {
|
||||
public fun get(thisRef: Any?, prop: PropertyMetadata): String {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
val prop by Delegate()
|
||||
|
||||
val a = prop
|
||||
|
||||
fun box() = a
|
||||
Reference in New Issue
Block a user