Analysis API: add test covering get missing when branches
Also fix FIR implementation to generate boolean branches in the same order as FE1.0.
This commit is contained in:
committed by
Ilya Kirillov
parent
8ba2e4d221
commit
2c2851af6e
@@ -0,0 +1,9 @@
|
||||
enum class MyEnum {
|
||||
A, B, C
|
||||
}
|
||||
|
||||
fun test(e: MyEnum) {
|
||||
<caret>when (e) {
|
||||
MyEnum.A -> {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user