jlleitschuh
10/09/2017, 4:53 PMenum class Build { Debug, Release }
fun applySomething(build: Build) = when (build) {
Build.Debug -> "environmentDebug"
Build.Release -> "environmentRelease"
}
This seems like a scripting bug, yes?
https://github.com/gradle/kotlin-dsl/issues/526
Just want to make sure that this isn't a "works as expected"ilya.chernikov
10/09/2017, 5:26 PMjlleitschuh
10/09/2017, 5:44 PMbamboo
10/09/2017, 5:55 PMilya.chernikov
10/10/2017, 10:58 AM