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:
+2
-2
@@ -20,7 +20,7 @@ fun t2() {
|
||||
fun t3() {
|
||||
try {
|
||||
1
|
||||
l@{ () ->
|
||||
l@{ ->
|
||||
if (2 > 3) {
|
||||
return@l
|
||||
}
|
||||
@@ -31,7 +31,7 @@ fun t3() {
|
||||
}
|
||||
|
||||
fun t4() {
|
||||
l@{ () ->
|
||||
l@{ ->
|
||||
try {
|
||||
1
|
||||
if (2 > 3) {
|
||||
|
||||
Reference in New Issue
Block a user