[IR] update testdata: removed extra indentation for function expressions
This commit is contained in:
committed by
teamcityserver
parent
cf5ba82453
commit
ab8188b032
+3
-3
@@ -7,14 +7,14 @@ fun useVararg(vararg foos: IFoo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun testLambda() {
|
fun testLambda() {
|
||||||
useVararg(foos = [ local fun <anonymous>(it: Int) {
|
useVararg(foos = [local fun <anonymous>(it: Int) {
|
||||||
return Unit
|
return Unit
|
||||||
}
|
}
|
||||||
/*-> IFoo */])
|
/*-> IFoo */])
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testSeveralLambdas() {
|
fun testSeveralLambdas() {
|
||||||
useVararg(foos = [ local fun <anonymous>(it: Int) {
|
useVararg(foos = [local fun <anonymous>(it: Int) {
|
||||||
return Unit
|
return Unit
|
||||||
}
|
}
|
||||||
/*-> IFoo */, local fun <anonymous>(it: Int) {
|
/*-> IFoo */, local fun <anonymous>(it: Int) {
|
||||||
@@ -31,7 +31,7 @@ fun withVarargOfInt(vararg xs: Int): String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun testAdaptedCR() {
|
fun testAdaptedCR() {
|
||||||
useVararg(foos = [ local fun withVarargOfInt(p0: Int) {
|
useVararg(foos = [local fun withVarargOfInt(p0: Int) {
|
||||||
withVarargOfInt(xs = [p0]) /*~> Unit */
|
withVarargOfInt(xs = [p0]) /*~> Unit */
|
||||||
}
|
}
|
||||||
/*-> IFoo */])
|
/*-> IFoo */])
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ fun interface MyRunnable {
|
|||||||
fun test(a: Any, r: MyRunnable) {
|
fun test(a: Any, r: MyRunnable) {
|
||||||
when {
|
when {
|
||||||
a is MyRunnable -> { // BLOCK
|
a is MyRunnable -> { // BLOCK
|
||||||
foo(rs = [ local fun <anonymous>() {
|
foo(rs = [local fun <anonymous>() {
|
||||||
return Unit
|
return Unit
|
||||||
}
|
}
|
||||||
/*-> MyRunnable */, r, a /*as MyRunnable */])
|
/*-> MyRunnable */, r, a /*as MyRunnable */])
|
||||||
|
|||||||
Reference in New Issue
Block a user