Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
// PARAM_DESCRIPTOR: internal fun <T> kotlin.Array<T>.test(): kotlin.Unit defined in root package
|
||||
// SIBLING:
|
||||
fun <T> Array<T>.test() {
|
||||
unit()
|
||||
__dummyTestFun__()
|
||||
}
|
||||
|
||||
private fun <T> Array<T>.unit() {
|
||||
private fun <T> Array<T>.__dummyTestFun__() {
|
||||
this.isEmpty()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user