Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
This commit is contained in:
+2
-2
@@ -2,10 +2,10 @@ class T(val n: Int)
|
||||
|
||||
// SIBLING:
|
||||
fun foo() {
|
||||
unit()
|
||||
__dummyTestFun__()
|
||||
}
|
||||
|
||||
private fun unit() {
|
||||
private fun __dummyTestFun__() {
|
||||
if (true) {
|
||||
val k = 1
|
||||
T().n + k + 1
|
||||
|
||||
Reference in New Issue
Block a user