resolve delegated expression always using completer

This commit is contained in:
Svetlana Isakova
2013-09-30 13:49:51 +04:00
parent 249dc4b1ba
commit 0a0f76239f
5 changed files with 64 additions and 31 deletions
@@ -0,0 +1,11 @@
class A {
val a by MyProperty()
fun test() {
a: Int
}
}
class MyProperty<R> {
public fun get(thisRef: R, desc: PropertyMetadata): Int = throw Exception("$thisRef $desc")
}