If I’ve overridden toString()
in a data class, is it still possible to explicitly call the standard auto-generated toString()
implementation from within the same class? I’ve tried with super.toString()
but that does not compile.
It’s not possible. But it would be great if it was.
Is there already an issue filed that I can upvote to track this request?
Not that I know of and I couldn’t find one.
I’ve created an issue now: https://youtrack.jetbrains.com/issue/KT-29298