Tower Data Context:
    Element 0
        Scope: FirDefaultStarImportingScope
    Element 1
        Scope: FirExplicitStarImportingScope
    Element 2
        Scope: FirDefaultSimpleImportingScope
    Element 3
        Scope: FirDefaultSimpleImportingScope
    Element 4
        Scope: FirPackageMemberScope
    Element 5
        Scope: FirExplicitSimpleImportingScope
    Element 6
        Scope: FirLocalScope
            Properties:
                FirValueParameterSymbol foo: R|Foo|
    Element 7
        Scope: FirLocalScope
    Element 8
        Scope: FirLocalScope
Expression Stability: STABLE_VALUE
Smart Casts:
    FirRegularPropertySymbol public final val value: R|kotlin/Any|
        public get(): R|kotlin/Any|
    Stability: STABLE_VALUE
    Types:
        kotlin.String
        kotlin.Any

FILE: [ResolvedTo(IMPORTS)] stableQualifiedPropertySmartCast.kt
    public final [ResolvedTo(BODY_RESOLVE)] fun test([ResolvedTo(BODY_RESOLVE)] foo: R|Foo|): R|kotlin/Unit| {
        when () {
            (R|<local>/foo|.R|/Foo.value| is R|kotlin/String|) ->  {
                R|<local>/foo|.R|/Foo.value|
            }
        }

    }
    public final? [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
        public? [ResolvedTo(RAW_FIR)] constructor([ResolvedTo(RAW_FIR)] value: Any): R|Foo| {
            LAZY_super<R|kotlin/Any|>
        }

        public? final? [ResolvedTo(RAW_FIR)] val value: Any = R|<local>/value|
            public? [ResolvedTo(RAW_FIR)] get(): Any

    }
