Generate inline function arguments with parameters types

#KT-44429 Fixed
This commit is contained in:
Mikhael Bogdanov
2021-01-20 07:01:19 +01:00
parent 50ab9ed054
commit 147d60523d
13 changed files with 68 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
// FILE: 1.kt
package test
inline fun <T> takeT(t: T) {}
// FILE: 2.kt
import test.*
fun box(): String {
val f = { null } as () -> Int
takeT(f())
return "OK"
}