jvm-abi-gen: Remove WhenMapping classes from ABI if possible
This commit is contained in:
committed by
Alexander Udalov
parent
ec4d7b2bb6
commit
19660f11a7
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
enum class E { A, B }
|
||||
|
||||
class Test {
|
||||
fun anonymousWhenMapping(e: E) = when (e) {
|
||||
E.A -> "OK"
|
||||
else -> "Fail"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user