Formatter: left brace formatting for "try/catch/finally"
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
fun f() {
|
||||
try {
|
||||
|
||||
}
|
||||
catch (e: Exception) {
|
||||
|
||||
}
|
||||
finally {
|
||||
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
}
|
||||
catch (e: Exception)
|
||||
{
|
||||
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
catch (e: Exception)
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
finally
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
try //eol comment
|
||||
{
|
||||
|
||||
}
|
||||
catch (e: Exception) //eol comment
|
||||
{
|
||||
|
||||
}
|
||||
finally //eol comment
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
try //eol comment
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
catch (e: Exception) //eol comment
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
finally //eol comment
|
||||
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: LBRACE_ON_NEXT_LINE
|
||||
Reference in New Issue
Block a user