Adjust testData to new labels syntax
This commit is contained in:
@@ -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@{})
|
||||
}
|
||||
Reference in New Issue
Block a user