Hi. I would like to get the qualified name of a ty...
# getting-started
h
Hi. I would like to get the qualified name of a typealias. I have an alias
typealias my.test.Foo = String
I would now like to get the quaifiedName, so
my.test.Foo
. but using
Foo::class.qualifiedName
I get
kotlin.String
. I found this in a proposal, but the issue to it is closed and unfortunately
Foo::typealias.qualifiedName
does not work. Is there another way? I am currently on version
1.4.21
r
No, it's just an alias. It doesn't exist at runtime.
😞 1