Adjust testData to new labels syntax

This commit is contained in:
Denis Zharkov
2015-04-27 14:39:46 +03:00
parent 5977302465
commit 44a55e5bf6
191 changed files with 747 additions and 747 deletions
@@ -12,7 +12,7 @@ fun test2() {
<!UNREACHABLE_CODE!>bar(<!>11, todo()/*comment1*/, <!UNREACHABLE_CODE!>""/*comment2*/)<!>
}
fun test3() {
<!UNREACHABLE_CODE!>bar(<!>11, @l(todo()/*comment*/), <!UNREACHABLE_CODE!>"")<!>
<!UNREACHABLE_CODE!>bar(<!>11, l@(todo()/*comment*/), <!UNREACHABLE_CODE!>"")<!>
}
fun todo() = throw Exception()
@@ -1,7 +1,7 @@
//KT-5200 Mark unreachable code in lambdas
fun test1(): String {
doCall @local {
doCall local@ {
throw NullPointerException()
<!UNREACHABLE_CODE!>"b3"<!> //unmarked
}
@@ -10,7 +10,7 @@ fun test1(): String {
}
fun test2(nonLocal: String, b: Boolean): String {
doCall @local {
doCall local@ {
if (b) {
return@local "b1"
} else {