FILE: whenSubjectExpression.kt
    public final fun whenWithSubjectExpression(x: R|kotlin/Any|): R|kotlin/Unit| {
        when (lval <when-subject>: R|kotlin/Any| = R|<local>/x|) {
            ($subj$ !is R|kotlin/Double|) ->  {
                Int(-1)
            }
            ==($subj$, Double(0.0)) ->  {
                Int(0)
            }
            else ->  {
                R|<local>/x|.R|kotlin/Double.toInt|()
            }
        }

    }
    public final fun whenWithSubjectVariable(x: R|kotlin/Any|): R|kotlin/Unit| {
        when (lval y: R|kotlin/Any| = R|<local>/x|) {
            ($subj$ !is R|kotlin/Double|) ->  {
                Int(-1)
            }
            ==($subj$, Double(0.0)) ->  {
                Int(0)
            }
            else ->  {
                R|<local>/y|.R|kotlin/Double.toInt|()
            }
        }

    }
