Extract function: add default name for parameter
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// PARAM_TYPES: kotlin.Array<T>, kotlin.Cloneable, Any
|
||||
// PARAM_DESCRIPTOR: internal fun <T> kotlin.Array<T>.test(): kotlin.Unit defined in root package
|
||||
// SIBLING:
|
||||
fun <T> Array<T>.test() {
|
||||
unit()
|
||||
}
|
||||
|
||||
private fun <T> Array<T>.unit() {
|
||||
this.isEmpty()
|
||||
}
|
||||
Reference in New Issue
Block a user