//KT-1027 Strange selection of unreachable code

This commit is contained in:
svtk
2012-01-17 15:43:11 +04:00
parent 3a634417b9
commit e6a2b2fc0f
7 changed files with 598 additions and 342 deletions
@@ -6,8 +6,8 @@ package kt1001
fun foo(<!UNUSED_PARAMETER!>c<!>: Array<Int>) {
return
for (<!UNREACHABLE_CODE!>i<!> in <!UNREACHABLE_CODE!>c<!>) {}
for (<!UNREACHABLE_CODE!>i<!> in <!UNREACHABLE_CODE!>c<!>) {}
<!UNREACHABLE_CODE!>for (i in c) {}<!>
<!UNREACHABLE_CODE!>for (i in c) {}<!>
}
//more tests