Don't delete unresolved imports in cleanup inspection (KT-25678)

It looks like they were deleted because of the bug in search for deprecated
imports search.

 #KT-25678 Fixed
This commit is contained in:
Nikolay Krasko
2018-07-24 13:27:23 +03:00
parent 20ddbc9698
commit 7b6df0a7cc
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ import pack.oldFun1
import pack.oldFun2 // should not be removed for non-deprecated overload used
import pack.oldFun3
import kotlin.reflect.KProperty
import some.unresolved.declaration // should not be removed
class A private()
+1
View File
@@ -1,6 +1,7 @@
import pack.bar
import pack.oldFun2 // should not be removed for non-deprecated overload used
import kotlin.reflect.KProperty
import some.unresolved.declaration // should not be removed
class A private constructor()