mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 00:21:34 +00:00
Use the same approach that is used for creating function type classes
(Function{0,1,...}) + add Cloneable to supertypes of Array and primitive arrays
#KT-5537 Fixed
11 lines
311 B
Plaintext
Vendored
11 lines
311 B
Plaintext
Vendored
// PARAM_TYPES: kotlin.Array<T>, kotlin.Any, kotlin.Cloneable, java.io.Serializable
|
|
// PARAM_DESCRIPTOR: public fun <T> kotlin.Array<T>.test(): kotlin.Unit defined in root package
|
|
// SIBLING:
|
|
fun <T> Array<T>.test() {
|
|
__dummyTestFun__()
|
|
}
|
|
|
|
private fun <T> Array<T>.__dummyTestFun__() {
|
|
this.isEmpty()
|
|
}
|