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
        Static scope owner symbol: FirRegularClassSymbol public final class Foo : R|kotlin/Any|
    Element 7
        Implicit receiver:
            FirRegularClassSymbol public final class Foo : R|kotlin/Any|
                Type: Foo
    Element 8
        Scope: FirLocalScope
    Element 9
        Scope: FirLocalScope
    Element 10
        Scope: FirLocalScope
            Properties:
                FirLocalPropertySymbol lval localProperty: R|kotlin/Int|
Expression Stability: STABLE_VALUE

FILE: [ResolvedTo(IMPORTS)] errorProperty.kt
    public final? [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
        public? [ResolvedTo(RAW_FIR)] constructor(): R|Foo| {
            LAZY_super<R|kotlin/Any|>
        }

        public final [ResolvedTo(BODY_RESOLVE)] val <error property>: <ERROR TYPE REF: Destructuring declarations are only allowed for local variables/values> = R|/transformation|<R|MyPair|>(<L> = [ResolvedTo(BODY_RESOLVE)] transformation@fun <anonymous>(): R|MyPair| <inline=NoInline>  {
            [ResolvedTo(BODY_RESOLVE)] lval localProperty: R|kotlin/Int| = Int(1)
            ^ R|/MyPair.MyPair|(R|<local>/localProperty|, String(str))
        }
        )

    }
    public? final? [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] T> transformation([ResolvedTo(RAW_FIR)] body: ( () -> T )): T { LAZY_BLOCK }
    public final? data [ResolvedTo(RAW_FIR)] class MyPair : R|kotlin/Any| {
        public? [ResolvedTo(RAW_FIR)] constructor([ResolvedTo(RAW_FIR)] l: Int, [ResolvedTo(RAW_FIR)] r: String): R|MyPair| {
            LAZY_super<R|kotlin/Any|>
        }

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

        public? final operator [ResolvedTo(RAW_FIR)] fun component1(): Int

        public? final [ResolvedTo(RAW_FIR)] fun copy([ResolvedTo(RAW_FIR)] l: Int = this@R|/MyPair|.R|/MyPair.l|): R|MyPair|

    }
