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
@@ -5,8 +5,8 @@ public inline fun <reified T> Array(n: Int, block: (Int) -> T): Array<T> = null!
fun test() {
val ints = Array<Int?>(2, { null })
ints.forEach @lit {
if (it == null) return @lit
ints.forEach lit@ {
if (it == null) return@lit
use(<!DEBUG_INFO_SMARTCAST!>it<!> + 5)
}
}