Files
kotlin-fork/idea/testData/formatter/TryCatchLineBreak.kt
T

71 lines
547 B
Kotlin
Vendored

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