KT-3750 When without else
#KT-3750 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user