fixed bug in 'DataFlowInfo.getPossibleTypes'

parent types should be enriched as well
This commit is contained in:
Svetlana Isakova
2013-12-09 17:07:47 +04:00
parent 4a26c9df04
commit cd6934bee8
3 changed files with 17 additions and 3 deletions
@@ -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