Write script descriptor type to ASM_TYPE slice
#KT-20707 Fixed
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
enum class Build { Debug, Release }
|
||||
|
||||
fun applySomething(build: Build) = when (build) {
|
||||
Build.Debug -> "OK"
|
||||
Build.Release -> "fail"
|
||||
}
|
||||
|
||||
val rv = applySomething(Build.Debug)
|
||||
|
||||
// expected: rv: OK
|
||||
Reference in New Issue
Block a user