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