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
@@ -1,6 +1,6 @@
class ReadByAnotherPropertyInitializer() {
val a = 1
{
val x = $a
val <!UNUSED_VARIABLE!>x<!> = $a
}
}