[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() {
|
||||
useVararg(foos = [ local fun <anonymous>(it: Int) {
|
||||
useVararg(foos = [local fun <anonymous>(it: Int) {
|
||||
return Unit
|
||||
}
|
||||
/*-> IFoo */])
|
||||
}
|
||||
|
||||
fun testSeveralLambdas() {
|
||||
useVararg(foos = [ local fun <anonymous>(it: Int) {
|
||||
useVararg(foos = [local fun <anonymous>(it: Int) {
|
||||
return Unit
|
||||
}
|
||||
/*-> IFoo */, local fun <anonymous>(it: Int) {
|
||||
@@ -31,7 +31,7 @@ fun withVarargOfInt(vararg xs: Int): String {
|
||||
}
|
||||
|
||||
fun testAdaptedCR() {
|
||||
useVararg(foos = [ local fun withVarargOfInt(p0: Int) {
|
||||
useVararg(foos = [local fun withVarargOfInt(p0: Int) {
|
||||
withVarargOfInt(xs = [p0]) /*~> Unit */
|
||||
}
|
||||
/*-> IFoo */])
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ fun interface MyRunnable {
|
||||
fun test(a: Any, r: MyRunnable) {
|
||||
when {
|
||||
a is MyRunnable -> { // BLOCK
|
||||
foo(rs = [ local fun <anonymous>() {
|
||||
foo(rs = [local fun <anonymous>() {
|
||||
return Unit
|
||||
}
|
||||
/*-> MyRunnable */, r, a /*as MyRunnable */])
|
||||
|
||||
Reference in New Issue
Block a user