KT-4405 Control-flow analysis is not performed for some local declarations #KT-4405 Fixed

This commit is contained in:
Svetlana Isakova
2014-01-24 19:27:30 +04:00
parent aa713ef1f6
commit 791fa22abb
20 changed files with 93 additions and 48 deletions
@@ -16,7 +16,7 @@ class A(a: String?) {
val b = if (a != null) <!DEBUG_INFO_AUTOCAST!>a<!>.length else 1
{
if (a != null) {
val c = <!DEBUG_INFO_AUTOCAST!>a<!>.length
val <!UNUSED_VARIABLE!>c<!> = <!DEBUG_INFO_AUTOCAST!>a<!>.length
}
}