[IR] update testdata: removed extra indentation for function expressions

This commit is contained in:
Zalim Bashorov
2020-11-06 03:26:51 +03:00
committed by teamcityserver
parent cf5ba82453
commit ab8188b032
76 changed files with 168 additions and 168 deletions
@@ -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 */])
@@ -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 */])