Added test for labeled delegated expression

This commit is contained in:
Svetlana Isakova
2014-07-04 20:51:04 +04:00
parent 51a979d5f0
commit cec01237d0
2 changed files with 14 additions and 0 deletions
@@ -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")
}
}