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 a: R|kotlin/Any?|
Expression Stability: STABLE_VALUE
Smart Casts:
    FirLocalPropertySymbol lvar a: R|kotlin/Any?|
    Stability: STABLE_VALUE
    Types:
        kotlin.Any

FILE: [ResolvedTo(IMPORTS)] breakFromInfiniteLoop.kt
    public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/Unit| {
        [ResolvedTo(BODY_RESOLVE)] lvar a: R|kotlin/Any?| = Null(null)
        while(Boolean(true)) {
            when () {
                ==(R|<local>/a|, Null(null)) ->  {
                    ^test Unit
                }
            }

            when () {
                R|/foo|() ->  {
                    break@@@[Boolean(true)]
                }
            }

        }

        R|<local>/a|
    }
    public? final? [ResolvedTo(RAW_FIR)] fun foo(): Boolean { LAZY_BLOCK }
