FIR: prefer flexible type over other equal types when computing intersection

This commit is contained in:
Jinseong Jeon
2021-04-04 23:05:00 -07:00
committed by Dmitriy Novozhilov
parent 0d3969597c
commit 2d42e64c17
2 changed files with 16 additions and 3 deletions
@@ -14,8 +14,8 @@ class J {
fun bar() {
var v: String?
v = J.foo()
v<!UNSAFE_CALL!>.<!>length
<!INAPPLICABLE_CANDIDATE!>gav<!>(v)
v.length
gav(v)
var l: List<String>?
l = J.bar()