Hi all, quick question about some interesting beha...
# announcements
m
Hi all, quick question about some interesting behavior I'm seeing. I have a data class that I'm deriving a val from another memvar (val) listed in my primary constructor. No problem with functionality at all, except the provided toString() doesn't pick up the derived field. I've assigned to it, created a get()...same results, toString() just ignores it. I can of course override toString() (& I am), but I'm curious why this is happening. Kotlin version is 1.1.61. Thoughts? Ideas?