FIR: prefer flexible type over other equal types when computing intersection
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
0d3969597c
commit
2d42e64c17
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user