FILE: typeAlias.kt
    public final enum class Some : R|kotlin/Enum<Some>| {
        private constructor(): R|Some| {
            super<R|kotlin/Enum<Some>|>()
        }

        public final static enum entry FIRST: R|Some|
        public final static enum entry SECOND: R|Some|
        public final static fun values(): R|kotlin/Array<Some>| {
        }

        public final static fun valueOf(value: R|kotlin/String|): R|Some| {
        }

        public final static val entries: R|kotlin/enums/EnumEntries<Some>|
            public get(): R|kotlin/enums/EnumEntries<Some>|

    }
    public final typealias Other = R|Some|
    public final fun foo(o: R|{Other=} Some|): R|kotlin/Int| {
        ^foo when (lval <when-subject>: R|{Other=} Some| = R|<local>/o|) {
            ==($subj$, Q|Some|.R|/Some.FIRST|) ->  {
                Int(1)
            }
            ==($subj$, Q|Some|.R|/Some.SECOND|) ->  {
                Int(2)
            }
        }

    }
