A lambda that captures a local `var counter` is converted to an `invokedynamic` Function object. Beyond the indy linkage, what extra mechanism does the compiler need specifically because the captured variable is mutable?
fun make(): () -> Int {
var counter = 0
return { counter++ } // counter boxed into a Ref holder
}