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 i: R|kotlin/Int|
    Element 7
        Scope: FirLocalScope
            Classifiers:
                FirRegularClassSymbol local final class Foo : R|kotlin/Any|
            Properties:
                FirValueParameterSymbol parameter1: R|@R|Anno|(position = <strcat>(String(1), String(2)) [evaluated = String(12)])  kotlin/String|
    Element 8
        Static scope owner symbol: FirRegularClassSymbol local final class Foo : R|kotlin/Any|
    Element 9
        Implicit receiver:
            FirRegularClassSymbol local final class Foo : R|kotlin/Any|
                Type: <local>.Foo

FILE: [ResolvedTo(IMPORTS)] danglingContextParameterInLocalClass.kt
    @Target[Unresolved](LAZY_EXPRESSION) public final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
        public? [ResolvedTo(RAW_FIR)] constructor([ResolvedTo(RAW_FIR)] position: String): R|Anno| {
            LAZY_super<R|kotlin/Any|>
        }

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

    }
    public final [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] i: R|kotlin/Int|): R|kotlin/Unit| {
        local final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
            public [ResolvedTo(BODY_RESOLVE)] constructor(): R|<local>/Foo| {
                super<R|kotlin/Any|>()
            }

            [ResolvedTo(BODY_RESOLVE)] context([ResolvedTo(BODY_RESOLVE)] parameter1: R|@R|Anno|(position = <strcat>(String(1), String(2)) [evaluated = String(12)])  kotlin/String|, [ResolvedTo(BODY_RESOLVE)] parameter2: R|kotlin/collections/List<@R|Anno|(position = String(str) [evaluated = String(str)])  kotlin/Int>|)
            <DANGLING MODIFIER: Top level declaration expected>
        }

    }
