@dmitry.petrov Any particular reason typealias is now only permitted in top-level?
https://github.com/JetBrains/kotlin/commit/4c47d77
We were using it in interfaces and classes quite extensively for simplifying listener and callback declarations; (contrived example)
val onClick: ClickListener? = null