Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
This commit is contained in:
+2
-2
@@ -3,13 +3,13 @@
|
||||
fun foo() {
|
||||
val (a, b) =
|
||||
if (true) {
|
||||
unit()
|
||||
__dummyTestFun__()
|
||||
1 to 2
|
||||
} else {
|
||||
2 to 3
|
||||
}
|
||||
}
|
||||
|
||||
private fun unit() {
|
||||
private fun __dummyTestFun__() {
|
||||
1 + 1
|
||||
}
|
||||
Reference in New Issue
Block a user