invoke
Начиная с Kotlin: 1.7
operator fun DeepRecursiveFunction<*, *>.invoke(value: Any?): Nothing
Устарело (с ошибкой)
'invoke' не следует вызывать из DeepRecursiveScope. Используйте 'callRecursive', чтобы выполнять рекурсию в куче, а не в стеке вызовов.
Заменить на
this.callRecursive(value)
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-deep-recursive-scope/invoke.html