Smart cast impossible in a coroutine context?

Oh yeah, that is absolutely more readable, @elizarov! :+1:

And thanks for creating the YouTrack ticket. :smile: