If I have `inline class ShortUser(val value: Strin...
# eap
a
If I have
inline 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)
d
Yes. Just as with regular classes.