Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve intended behavior. Some usages are removed because they test exactly the feature that we are going to drop soon.
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ class C {
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
val lambda = {() -> /* STATEMENT DELETED: x() */; C() }
|
||||
val lambda = { -> /* STATEMENT DELETED: x() */; C() }
|
||||
lambda().<caret>f()
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@ class C {
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
val lambda = {() -> x(); C() }
|
||||
val lambda = { -> x(); C() }
|
||||
lambda().<caret>f()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user