Allan Wang
11/08/2018, 8:26 PMinline class ShortUser(val value: String)
and inline class User(val value: String)
, and I want to be able to pass ShortUser
into methods that take in User
, is the only way to pass in User(shortUser.value)
? (Haven't actually tried this. Just reading the inline class docs, and it looks like there is no other way)dmitry.petrov
11/09/2018, 4:08 PM