Fix spacing after return (KT-4947)

#KT-4947 Fixed
This commit is contained in:
Nikolay Krasko
2014-05-10 21:11:07 +04:00
parent 3f96b4775f
commit 8eb8e5a928
7 changed files with 105 additions and 2 deletions
@@ -0,0 +1,39 @@
fun test1(): Int {
return 1
}
fun test2(): Int {
return
1
}
fun test3(): Int {
return
1
}
fun test4(): Int {
return synchronized(this) {(): Int ->
return@synchronized 12
}
}
fun test5(): Int {
return synchronized(this) {(): Int ->
return@synchronized 12
}
}
fun test6(): Int {
return synchronized(this) {(): Int ->
return
@synchronized
12
}
}
@@ -0,0 +1,39 @@
fun test1(): Int {
return 1
}
fun test2(): Int {
return
1
}
fun test3(): Int {
return
1
}
fun test4(): Int {
return synchronized(this) {(): Int ->
return@synchronized 12
}
}
fun test5(): Int {
return synchronized(this) {(): Int ->
return @synchronized 12
}
}
fun test6(): Int {
return synchronized(this) {(): Int ->
return
@synchronized
12
}
}