Substitute type arguments to return type of inlined function references
Such substitution is crucial on codegen stage if the return type is reified (e.g. for `Array`) ^KT-59507: Fixed ^KT-59281: Fixed
This commit is contained in:
committed by
Space Team
parent
f5a00c788a
commit
e5763a692f
@@ -0,0 +1,8 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
// KT-59544
|
||||
// SKIP_SOURCEMAP_REMAPPING
|
||||
|
||||
inline fun h(b: (Int) -> Array<String?>) = b(1).size
|
||||
|
||||
fun box(): String = ('N' + h(::arrayOfNulls)) + "K"
|
||||
Reference in New Issue
Block a user