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
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE
inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
bar1 @label {
bar1 label@ {
this@label.length()
}
@@ -13,7 +13,7 @@ inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
// this@bar1.length
//}
bar2 @l {
bar2 l@ {
11
}
@@ -24,17 +24,17 @@ inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
}
inline fun foo2(bar1: (String.() -> Int) -> Int) {
@l1 <!USAGE_IS_NOT_INLINABLE!>bar1<!>
l1@ <!USAGE_IS_NOT_INLINABLE!>bar1<!>
@l2 bar1 {
l2@ bar1 {
11
}
(@l3 bar1) {
(l3@ bar1) {
11
}
(@l5 (@l4 bar1)) {
(l5@ (l4@ bar1)) {
11
}
}