Formatting: omit blank lines between 'when' and left brace. Test is included.

This commit is contained in:
sayon
2013-08-28 15:15:16 +04:00
parent f8b280ba57
commit 965265b8b8
4 changed files with 31 additions and 0 deletions
@@ -0,0 +1,17 @@
fun f(x: Any): Int {
return when (x)
{
is Int->1
else->0
}
}
@@ -0,0 +1,7 @@
fun f(x: Any): Int {
return when (x)
{
is Int -> 1
else -> 0
}
}