Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
This commit is contained in:
+2
-2
@@ -4,10 +4,10 @@
|
||||
fun foo(a: Int) {
|
||||
val b: Int = 1
|
||||
|
||||
unit(a)
|
||||
__dummyTestFun__(a)
|
||||
}
|
||||
|
||||
private fun unit(a: Int) {
|
||||
private fun __dummyTestFun__(a: Int) {
|
||||
var t = a
|
||||
while (t > 0) {
|
||||
if (t == 2) continue
|
||||
|
||||
Reference in New Issue
Block a user