[IR] update testdata: removed extra indentation for function expressions
This commit is contained in:
committed by
teamcityserver
parent
cf5ba82453
commit
ab8188b032
@@ -1,26 +1,26 @@
|
||||
val test1: Function1<String, String>
|
||||
field = local fun <anonymous>(it: String): String {
|
||||
field = local fun <anonymous>(it: String): String {
|
||||
return it
|
||||
}
|
||||
|
||||
get
|
||||
|
||||
val test2: @ExtensionFunctionType Function2<Any, Any, Any>
|
||||
field = local fun Any.<anonymous>(it: Any): Int {
|
||||
field = local fun Any.<anonymous>(it: Any): Int {
|
||||
return it.hashCode()
|
||||
}
|
||||
|
||||
get
|
||||
|
||||
val test3: Function2<Int, Int, Unit>
|
||||
field = local fun <anonymous>(i: Int, j: Int) {
|
||||
field = local fun <anonymous>(i: Int, j: Int) {
|
||||
return Unit
|
||||
}
|
||||
|
||||
get
|
||||
|
||||
val test4: Function2<Int, Int, Unit>
|
||||
field = local fun <no name provided>(i: Int, j: Int) {
|
||||
field = local fun <no name provided>(i: Int, j: Int) {
|
||||
}
|
||||
|
||||
get
|
||||
|
||||
+2
-2
@@ -17,10 +17,10 @@ fun box(): String {
|
||||
result = "OK"
|
||||
}
|
||||
|
||||
return f(, f2 = local fun <anonymous>(): String {
|
||||
return f(, f2 = local fun <anonymous>(): String {
|
||||
return "O"
|
||||
}
|
||||
).plus(other = f(f1 = local fun <anonymous>(): String {
|
||||
).plus(other = f(f1 = local fun <anonymous>(): String {
|
||||
return "K"
|
||||
}
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user