Original type is taken into account when intersecting possible types in resolve #KT-10232 Fixed
This commit is contained in:
committed by
Stanislav Erokhin
parent
db2521ee67
commit
fe04cc513b
@@ -38,7 +38,7 @@ fun <T : CharSequence?> foo(x: T) {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
x<!UNNECESSARY_SAFE_CALL!>?.<!>length
|
||||
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.bar1()
|
||||
x.bar1()
|
||||
x.bar2()
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.bar3()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user