Indent content of when (KT-14066)

#KT-14066 Fixed
This commit is contained in:
Nikolay Krasko
2018-06-21 15:58:00 +03:00
parent dc8a3ab534
commit 1973860e70
8 changed files with 130 additions and 10 deletions
@@ -4,10 +4,10 @@ fun test(obj: Any): String {
return when (obj) {
is String -> "string" // return "string"
// it's an Int
// it's an Int
is Int -> "int"
// otherwise
// otherwise
else -> "unknown"
}
}