PSI2IR: KT-40499 Fix delegated property desugaring

No type arguments were provided for property reference inside delegated
property accessors.
This commit is contained in:
Dmitry Petrov
2020-07-30 13:18:36 +03:00
parent bff36e0199
commit 46fccae7d1
8 changed files with 200 additions and 19 deletions
@@ -0,0 +1,8 @@
class C<T>
object Delegate {
operator fun getValue(thisRef: Any?, kProp: Any?) = 42
operator fun setValue(thisRef: Any?, kProp: Any? , newValue: Int) {}
}
var <T> C<T>.genericDelegatedProperty by Delegate