jvm-abi-gen: Remove WhenMapping classes from ABI if possible

This commit is contained in:
Steven Schäfer
2021-08-18 15:25:41 +02:00
committed by Alexander Udalov
parent ec4d7b2bb6
commit 19660f11a7
15 changed files with 124 additions and 1 deletions
@@ -0,0 +1,10 @@
package test
enum class E { A, B }
class Test {
fun anonymousWhenMapping(e: E) = when (e) {
E.A -> "OK"
else -> "Fail"
}
}