fixed bug in 'DataFlowInfo.getPossibleTypes'
parent types should be enriched as well
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
fun foo(d: Any?) {
|
||||
if (d is String?) {
|
||||
<!DEBUG_INFO_AUTOCAST!>d<!>!!
|
||||
doString(<!DEBUG_INFO_AUTOCAST!>d<!>)
|
||||
}
|
||||
}
|
||||
|
||||
fun doString(s: String) = s
|
||||
Reference in New Issue
Block a user