Fix overload ambiguity after smartcast to nullable Nothing

#KT-39544 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-06-23 00:13:15 +03:00
parent 9313073971
commit a06c8786df
8 changed files with 105 additions and 1 deletions
@@ -11,7 +11,7 @@ public class My {
fun test() {
val my = My.create()
if (my == null) {
<!OI;DEBUG_INFO_CONSTANT!>my<!><!OI;UNSAFE_CALL!>.<!>foo()
<!OI;DEBUG_INFO_CONSTANT!>my<!><!UNSAFE_CALL!>.<!>foo()
}
}