fbcb07d375
Merge-request: KT-MR-8605 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
16 lines
390 B
Kotlin
Vendored
16 lines
390 B
Kotlin
Vendored
fun box() = if(Context.operatingSystemType == Context.Companion.OsType.OTHER) "OK" else "fail"
|
|
|
|
public class Context
|
|
{
|
|
companion object
|
|
{
|
|
public enum class OsType {
|
|
LINUX,
|
|
OTHER;
|
|
}
|
|
|
|
public val operatingSystemType: OsType
|
|
get() = OsType.OTHER
|
|
}
|
|
}
|