Extract refactoring: Make an extracted function 'inline' if any of its type parameters are reified (#KT-23983)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
inline fun <reified T : CharSequence, reified U, X> foo() {
|
||||
__dummyTestFun__<T, U>()
|
||||
}
|
||||
|
||||
inline fun <reified T : CharSequence, reified U> __dummyTestFun__() {
|
||||
listOf(T::class, U::class)
|
||||
}
|
||||
Reference in New Issue
Block a user