FIR: Use Any? expect type to the argument list of ==

^KT-47409 Related
This commit is contained in:
Denis.Zharkov
2021-06-23 15:19:35 +03:00
committed by TeamCityServer
parent 4892ad42b9
commit c8c558b575
9 changed files with 64 additions and 17 deletions
@@ -1,11 +0,0 @@
// !LANGUAGE: +NewInference
interface Base
fun <K> materialize(): K = TODO()
fun <T : Base> Base.transform(): T = materialize()
fun test(child: Base) {
child == child.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>transform<!>()
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +NewInference
interface Base