You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given code below with inconsistent spacing around ..<:
@OptIn(ExperimentalStdlibApi::class)
fun foo(int: Int): String =
when (int) {
in 10..<20 -> "A"
in 20..< 30 -> "B"
in 30 ..< 40 -> "C"
in 40 ..<50 -> "D"
else -> "unknown"
}
should be formatted as:
@OptIn(ExperimentalStdlibApi::class)
fun foo(int: Int): String =
when (int) {
in 10..<20 -> "A"
in 20..<30 -> "B"
in 30..<40 -> "C"
in 40..<50 -> "D"
else -> "unknown"
}
The text was updated successfully, but these errors were encountered:
Given code below with inconsistent spacing around
..<
:should be formatted as:
The text was updated successfully, but these errors were encountered: