FIR2IR: collect annotations when expanding type aliases

This commit is contained in:
pyos
2021-02-05 13:48:26 +01:00
committed by Mikhail Glukhikh
parent 872effc21e
commit d96921e287
11 changed files with 65 additions and 10 deletions
@@ -0,0 +1,8 @@
typealias F<T, R> = T.() -> R
inline fun <T, R> T.myRun(f: F<T, R>) = f()
fun box(): String {
val x = "K"
return "O".myRun { this + x }
}