Revert ""Code Cleanup": don't remove deprecated imports when file has @file:Suppress("DEPRECATION") annotation"

This reverts commit cf5a6274
This commit is contained in:
Yan Zhulanow
2020-10-24 00:21:40 +09:00
parent 839c30d04b
commit 3321ce6325
10 changed files with 8 additions and 58 deletions
@@ -1,6 +0,0 @@
package bar
interface I
@Deprecated("", ReplaceWith("I"))
interface Bar : I
@@ -1,7 +0,0 @@
@file:Suppress("DEPRECATION")
package foo
import bar.Bar
fun foo(x: Bar) {}
@@ -1,7 +0,0 @@
@file:Suppress("DEPRECATION")
package foo
import bar.Bar
fun foo(x: Bar) {}