Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
This commit is contained in:
+2
-2
@@ -6,9 +6,9 @@ class A {
|
||||
// SIBLING:
|
||||
fun testProp() {
|
||||
val foo = A()
|
||||
unit(foo)
|
||||
__dummyTestFun__(foo)
|
||||
}
|
||||
|
||||
private fun unit(foo: A) {
|
||||
private fun __dummyTestFun__(foo: A) {
|
||||
foo()
|
||||
}
|
||||
Reference in New Issue
Block a user