[FIR] Report NON_EXHAUSTIVE_WHEN_STATEMENT/NO_ELSE_IN_WHEN for when's on logical types
^KT-47709 In Progress
This commit is contained in:
committed by
teamcityserver
parent
ef635f6a96
commit
a6edd852ff
+1
-1
@@ -22,7 +22,7 @@ object Last : S()
|
||||
fun use(s: String) = s
|
||||
|
||||
fun foo(s: S) {
|
||||
when (s) {
|
||||
<!NON_EXHAUSTIVE_WHEN_STATEMENT!>when<!> (s) {
|
||||
First -> {}
|
||||
is Derived -> use(s.s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user