Karlo Lozovina
02/18/2022, 7:44 PMinline class User(val user: String)
, I then have to repeat a lot: val user = User("foo"); println(user.user)
Maybe always give shorter name to the parameter? Maybe it
?elizarov
02/21/2022, 1:16 PMvalue
for now. This naming challenge is a sign of a larger problem, though. It looks like the inline value class is a too powerful mechanism for your needs. We are looking to provide simpler and more straightforward alternative in the future to alleviate the issue altogether, see https://youtrack.jetbrains.com/issue/KT-51417Karlo Lozovina
02/21/2022, 3:01 PM