Generate inline function arguments with parameters types
#KT-44429 Fixed
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user