FILE: locals.kt
    public? final? fun withLocals(p: Int): Int {
        local final? class Local : R|kotlin/Any| {
            public? [ContainingClassKey=Local] constructor([CorrespondingProperty=<local>/pp] pp: Int): R|<local>/Local| {
                super<R|kotlin/Any|>()
            }

            public? final? [IsFromPrimaryConstructor=true] val pp: Int = R|<local>/pp|
                public? [ContainingClassKey=Local] get(): Int

            public? final? fun diff(): <implicit> {
                ^diff pp#.minus#(p#)
            }

        }

        lval x: <implicit> = Local#(IntegerLiteral(42)).diff#()
        local final? fun sum(y: Int, z: Int, f: ( (Int, Int) -> Int )): Int {
            ^sum x#.plus#(f#(y#, z#))
        }

        lval code: <implicit> = object : Any {
            private [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
                super<Any>()
            }

            public? final? fun foo(): <implicit> {
                ^foo hashCode#()
            }

        }
        .foo#()
        ^withLocals sum#(code#, Local#(IntegerLiteral(1)).diff#(), fun <anonymous>(x: Int, y: Int): <implicit> <inline=Unknown>  {
            ^@sum x#.plus#(y#)
        }
        )
    }
