resolve delegated expression always using completer
This commit is contained in:
+11
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user