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,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar(2) <caret>@l{ it * 3 }
bar(2) <caret>l@{ it * 3 }
}
fun bar(a: Int, b: (Int) -> Int) {
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar(2, @l{ it * 3 })
bar(2, l@{ it * 3 })
}
fun bar(a: Int, b: (Int) -> Int) {
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar <caret>@l{ it * 3 }
bar <caret>l@{ it * 3 }
}
fun bar(b: (Int) -> Int) {
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar(@l{ it * 3 })
bar(l@{ it * 3 })
}
fun bar(b: (Int) -> Int) {
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar<caret>(2, @l{ it })
bar<caret>(2, l@{ it })
}
fun bar(a: Int, b: (Int) -> Int) {
@@ -1,6 +1,6 @@
// IS_APPLICABLE: true
fun foo() {
bar(2) @l{ it }
bar(2) l@{ it }
}
fun bar(a: Int, b: (Int) -> Int) {
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
fun foo() : Any {
return <caret>(@a{})
return <caret>(a@{})
}