Files
kotlin-fork/idea/testData/quickfix/when/addRemainingBranchesBoolean.kt.after
T
2016-01-12 14:33:20 +03:00

6 lines
122 B
Plaintext
Vendored

// "Add remaining branches" "true"
fun test(b: Boolean) = when(b) {
false -> 0
true -> throw AssertionError("")
}