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
Vendored
+3
-3
@@ -23,7 +23,7 @@ fun g(x: B<Int>) {
|
||||
}
|
||||
|
||||
if (y is Nothing?) {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>f<!>(y)
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>g<!>(y)
|
||||
f(y)
|
||||
<!NONE_APPLICABLE!>g<!>(y)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user