JS: add test to prove that KT-14419 is not more reproducible. Add test to prove that extension delegate with extension getValue is translated correctly.

This commit is contained in:
Alexey Andreev
2016-12-13 18:05:11 +03:00
parent b21f906856
commit b50bfaf071
8 changed files with 134 additions and 0 deletions
@@ -0,0 +1,14 @@
open class C
object O : C()
object K : C()
class D(val value: String) {
operator fun getValue(thisRef: C, property: Any): String = value
}
val O.prop by D("O")
val K.prop by D("K")
fun box() = O.prop + K.prop