Formatter: support "catch on new line" and "finally on new line" options
This commit is contained in:
@@ -2,14 +2,11 @@
|
||||
fun foo(n: Int): Int {
|
||||
return try {
|
||||
n / 0
|
||||
}
|
||||
<caret>catch (e: ArithmeticException) {
|
||||
} <caret>catch (e: ArithmeticException) {
|
||||
-1
|
||||
}
|
||||
catch (e: Exception) {
|
||||
} catch (e: Exception) {
|
||||
-2
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user