This message was deleted.
# getting-started
s
This message was deleted.
e
Copy code
import kotlin.toString as `-toString`
this should do what you want
1, there isn't a way. 2, you could probably write a #ktlint rule; outside of a framework like that, you'll have to do the work of figuring out type resolution yourself
actually now that I think more, #detekt would work better than ktlint since that's the one with optional type resolution