invoke

operator fun DeepRecursiveFunction<*, *>.invoke(value: Any?): Nothing(source)

Deprecated (with error)

'invoke' should not be called from DeepRecursiveScope. Use 'callRecursive' to do recursion in the heap instead of the call stack.

Replace with

this.callRecursive(value)

Since Kotlin

1.7