[NI] Fix replacing original in PropertyDescriptor

This commit is contained in:
Dmitriy Novozhilov
2019-05-29 17:32:02 +03:00
parent 88a9349f32
commit bcbbf4aba3
7 changed files with 41 additions and 1 deletions
@@ -0,0 +1,15 @@
// !LANGUAGE: +NewInference
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
interface A<T> {
var x: T
}
fun test(a: A<*>) {
a.x
}
fun box(): String {
return "OK"
}