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

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

        public final operator [ResolvedTo(STATUS)] fun component1(): R|kotlin/Int|

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

    }
