Fix formatting in some of test data files.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
This commit is contained in:
@@ -2,16 +2,16 @@ package foo
|
||||
|
||||
var b = 0
|
||||
|
||||
fun loop(var times : Int) {
|
||||
while(times > 0) {
|
||||
val u = {(value : Int) ->
|
||||
fun loop(var times: Int) {
|
||||
while (times > 0) {
|
||||
val u = {(value: Int) ->
|
||||
b = b + 1
|
||||
}
|
||||
u(times--)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : Boolean {
|
||||
fun box(): Boolean {
|
||||
loop(5)
|
||||
return b == 5
|
||||
}
|
||||
Reference in New Issue
Block a user