FIR: fix nullability computation of intersection of flexible types
Without this, currently, it(ft(J..J?), ft(J..J?) => J which should be ft(J..J?) instead.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
0cb039eea7
commit
871b5a2174
+3
-3
@@ -9,8 +9,8 @@ class J {
|
||||
fun bar() {
|
||||
var v: String?
|
||||
v = J.foo()
|
||||
v.length
|
||||
gav(v)
|
||||
v<!UNSAFE_CALL!>.<!>length
|
||||
<!INAPPLICABLE_CANDIDATE!>gav<!>(v)
|
||||
}
|
||||
|
||||
fun gav(v: String) = v
|
||||
fun gav(v: String) = v
|
||||
|
||||
Reference in New Issue
Block a user