FIR2IR: collect annotations when expanding type aliases
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
Reference in New Issue
Block a user