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

View File

@@ -22,10 +22,10 @@ fun box() : String {
if (1.a() != 2) return "test 8 failed"
val b = ( fun Int.() = this + 1)
if (1.b() != 2) return "test 9 failed"
val c = (@c fun Int.() = this + 1)
val c = (c@ fun Int.() = this + 1)
if (1.c() != 2) return "test 10 failed"
val d = @d fun (): Int { return@d 4}
val d = d@ fun (): Int { return@d 4}
if (d() != 4) return "test 11 failed"
return "OK"