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
    Element 7
        Scope: FirLocalScope
            Properties:
                FirLocalPropertySymbol lvar x: R|kotlin/Int?|
    Element 8
        Scope: FirLocalScope
    Element 9
        Scope: FirLocalScope
    Element 10
        Scope: FirLocalScope
Smart Casts:
    FirLocalPropertySymbol lvar x: R|kotlin/Int?|
    Stability: CAPTURED_VARIABLE
    Types:
        kotlin.Any

FILE: [ResolvedTo(IMPORTS)] nestedSinkBad.kt
    public final [ResolvedTo(ANNOTATION_ARGUMENTS)] [PartialBodyAnalysisStateKey=2(2/3) #1] fun test(): R|kotlin/Unit| {
        [ResolvedTo(BODY_RESOLVE)] lvar x: R|kotlin/Int?| = Int(42)
        R|/run|<R|kotlin/Unit|>(<L> = [ResolvedTo(BODY_RESOLVE)] run@fun <anonymous>(): R|kotlin/Unit| <inline=NoInline>  {
            when () {
                !=(R|<local>/x|, Null(null)) ->  {
                    R|<local>/x|.R|kotlin/Int.inc<Inapplicable(UNSTABLE_SMARTCAST): kotlin/Int.inc>#|()
                }
            }

        }
        )
        x# = getNullableInt#()
    }
    public? final? [ResolvedTo(RAW_FIR)] fun getNullableInt(): Int? { LAZY_BLOCK }
    public final [ResolvedTo(STATUS)] fun <[ResolvedTo(STATUS)] R> run([ResolvedTo(STATUS)] block: R|() -> R|): R|kotlin/Unit| { LAZY_BLOCK }
