KT-3750 When without else

#KT-3750 Fixed
This commit is contained in:
Nikolay Krasko
2013-07-05 20:19:22 +04:00
parent abcf5616f7
commit 21fa398380
5 changed files with 34 additions and 0 deletions
@@ -0,0 +1,9 @@
// FALSE
class B(val a: A)
val B.foo: Int
get() {
return <caret>when (a) {
A.e1 -> 1
A.e2 -> 4
}
}