Added test for labeled delegated expression
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class A3 {
|
||||
val a: String by @l MyProperty()
|
||||
|
||||
class MyProperty<T> {}
|
||||
|
||||
fun <T> MyProperty<T>.get(thisRef: Any?, desc: PropertyMetadata): T {
|
||||
throw Exception("$thisRef $desc")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user