Extract Function: Do not suggest "unit" as function name

#KT-6402 Fixed
This commit is contained in:
Alexey Sedunov
2014-12-26 15:51:52 +03:00
parent 64ddd52e60
commit 86d5bd9365
38 changed files with 79 additions and 79 deletions
@@ -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