Fix spacing after return (KT-4947)
#KT-4947 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user