Formatter: support "catch on new line" and "finally on new line" options

This commit is contained in:
Pavel V. Talanov
2014-01-17 19:20:30 +04:00
parent 7dc7db04b3
commit 53d503e242
10 changed files with 88 additions and 51 deletions
@@ -0,0 +1,16 @@
fun f() {
try {
}
catch (e: E) {
}
finally {
}
try {
} catch (e: E) {
} finally {
}
}
// SET_TRUE: CATCH_ON_NEW_LINE
// SET_TRUE: FINALLY_ON_NEW_LINE